mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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:
parent
9a5306ba2f
commit
3ff4ff4831
@ -16,6 +16,9 @@
|
|||||||
<dt><a href="windows.html">Windows</a></dt>
|
<dt><a href="windows.html">Windows</a></dt>
|
||||||
<dd>Downloads for Windows</dd>
|
<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>
|
<dt><a href="migration.html">Migration</a></dt>
|
||||||
<dd>Migrating guests between machines</dd>
|
<dd>Migrating guests between machines</dd>
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
<a href="drvlxc.html">LXC</a>,
|
<a href="drvlxc.html">LXC</a>,
|
||||||
<a href="drvbhyve.html">BHyve</a> and
|
<a href="drvbhyve.html">BHyve</a> and
|
||||||
<a href="drivers.html">more</a></li>
|
<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>
|
<li>is used by many <a href="apps.html">applications</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Recent / forthcoming <a href="news.html">release changes</a></p>
|
<p>Recent / forthcoming <a href="news.html">release changes</a></p>
|
||||||
|
44
docs/macos.rst
Normal file
44
docs/macos.rst
Normal 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.
|
@ -106,6 +106,7 @@ docs_rst_files = [
|
|||||||
'hacking',
|
'hacking',
|
||||||
'libvirt-go',
|
'libvirt-go',
|
||||||
'libvirt-go-xml',
|
'libvirt-go-xml',
|
||||||
|
'macos',
|
||||||
'migration',
|
'migration',
|
||||||
'newreposetup',
|
'newreposetup',
|
||||||
'pci-addresses',
|
'pci-addresses',
|
||||||
|
Loading…
Reference in New Issue
Block a user