docs: Add support page for libvirt on macOS

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Tested-by: Brad Laue <brad@brad-x.com>
Tested-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Roman Bolshakov 2018-11-20 03:12:17 +03:00 committed by Andrea Bolognani
parent 9a5306ba2f
commit 3ff4ff4831
4 changed files with 50 additions and 1 deletions

View File

@ -16,6 +16,9 @@
<dt><a href="windows.html">Windows</a></dt>
<dd>Downloads for Windows</dd>
<dt><a href="macos.html">macOS</a></dt>
<dd>Working with libvirt on macOS</dd>
<dt><a href="migration.html">Migration</a></dt>
<dd>Migrating guests between machines</dd>

View File

@ -28,7 +28,8 @@
<a href="drvlxc.html">LXC</a>,
<a href="drvbhyve.html">BHyve</a> and
<a href="drivers.html">more</a></li>
<li>targets Linux, FreeBSD, <a href="windows.html">Windows</a> and macOS</li>
<li>targets Linux, FreeBSD, <a href="windows.html">Windows</a> and
<a href="macos.html">macOS</a></li>
<li>is used by many <a href="apps.html">applications</a></li>
</ul>
<p>Recent / forthcoming <a href="news.html">release changes</a></p>

44
docs/macos.rst Normal file
View File

@ -0,0 +1,44 @@
.. role:: since
=============
macOS support
=============
.. contents::
Libvirt works both as client (for most drivers) and server (for the
`QEMU driver <drvqemu.html>`__) on macOS.
:since:`Since 8.1.0`, the "hvf" domain type can be used to run
hardware-accelerated VMs on macOS via
`Hypervisor.framework <https://developer.apple.com/documentation/hypervisor>`__.
QEMU version 2.12 or newer is needed for this to work.
Installation
============
libvirt client (virsh), server (libvirtd) and development headers can be
installed from `Homebrew <https://brew.sh>`__:
::
brew install libvirt
Running libvirtd locally
========================
The server can be started manually:
::
$ libvirtd
or on system boot:
::
$ brew services start libvirt
Once started, you can use virsh as you would on Linux.

View File

@ -106,6 +106,7 @@ docs_rst_files = [
'hacking',
'libvirt-go',
'libvirt-go-xml',
'macos',
'migration',
'newreposetup',
'pci-addresses',