From nobody Mon Feb 9 14:33:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1641892286; cv=none; d=zohomail.com; s=zohoarc; b=eJd2+5fGogXRYBIM1YtOZ9O7qDqFoz+o/nC6Wqn6Bujp2gq0eRK/V6O7NPe5WqE8ys5VdsgnFQ5o8eGPU1+RJpOM76SjNWD+amHIwS+ZBS8HzmXjW25fjawCfHb2scEtOX4pNTaSFkparO7EB6Jehwjk7MCka2C61erd3nrDRQQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641892286; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dQl8M6dBBaWVrOlncD7by32psBDGn0s2BCSZ6ofBwwQ=; b=SwSLad2sq5ySDFzYoKNJL9cPzKlv9MKEzFHBjth0NIrz4Zzkn8YjxBhJI1+8Tvsw3gNuIrBr+O9DQwSyKV9iXsaMvUAWp4BwNkSzDLe+v8co4CG9LSoA9In217xtK1naiqMAZ2xJsB2GhxUT00pEPHi2V4eR2nGaNKlxsPgFT+4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1641892286899479.0706576938743; Tue, 11 Jan 2022 01:11:26 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-526-95FkOfOlM42hbeh20I_E1Q-1; Tue, 11 Jan 2022 04:10:27 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4CAFD18B9F55; Tue, 11 Jan 2022 09:10:18 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 577298D5B8; Tue, 11 Jan 2022 09:10:17 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 19FB91809CB8; Tue, 11 Jan 2022 09:10:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20B9AEMI029755 for ; Tue, 11 Jan 2022 04:10:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id BAABB6F117; Tue, 11 Jan 2022 09:10:14 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.195.37]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B20656F116; Tue, 11 Jan 2022 09:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641892285; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dQl8M6dBBaWVrOlncD7by32psBDGn0s2BCSZ6ofBwwQ=; b=gsHPFxLAsOYWjlItise6gqgZFmkpYHJfDSAfIvT0yOvSqGZilhK+W4ItWbQt0lxRy6t15A Eh32aIFCiBRZXpwSRgMkPl4cxcwPFBVJ5wPJHiIAZEn9bC4BM+d9BQu59Koag6zJSvRxbv DjVbsbHdOjOoK6UpaeW6cfdlu3pzdGQ= X-MC-Unique: 95FkOfOlM42hbeh20I_E1Q-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v5 18/20] docs: Add support page for libvirt on macOS Date: Tue, 11 Jan 2022 10:09:38 +0100 Message-Id: <20220111090940.1315732-19-abologna@redhat.com> In-Reply-To: <20220111090940.1315732-1-abologna@redhat.com> References: <20220111090940.1315732-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: r.bolshakov@yadro.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1641892289472100001 Content-Type: text/plain; charset="utf-8" From: Roman Bolshakov Signed-off-by: Roman Bolshakov Signed-off-by: Andrea Bolognani Tested-by: Brad Laue --- docs/docs.html.in | 3 +++ docs/index.html.in | 3 ++- docs/macos.rst | 44 ++++++++++++++++++++++++++++++++++++++++++++ docs/meson.build | 1 + 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 docs/macos.rst diff --git a/docs/docs.html.in b/docs/docs.html.in index 8132090762..225827b693 100644 --- a/docs/docs.html.in +++ b/docs/docs.html.in @@ -16,6 +16,9 @@
Windows
Downloads for Windows
=20 +
macOS
+
Working with libvirt on macOS
+
Migration
Migrating guests between machines
=20 diff --git a/docs/index.html.in b/docs/index.html.in index 2c4aa7c6d0..3c065badb7 100644 --- a/docs/index.html.in +++ b/docs/index.html.in @@ -28,7 +28,8 @@ LXC, BHyve and more -
  • targets Linux, FreeBSD, Windows a= nd macOS
  • +
  • targets Linux, FreeBSD, Windows a= nd + macOS
  • is used by many applications
  • Recent / forthcoming release changes

    diff --git a/docs/macos.rst b/docs/macos.rst new file mode 100644 index 0000000000..84ff8192b5 --- /dev/null +++ b/docs/macos.rst @@ -0,0 +1,44 @@ +.. role:: since + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +macOS support +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. contents:: + +Libvirt works both as client (for most drivers) and server (for the +`QEMU driver `__) on macOS. + +:since:`Since 8.1.0`, the "hvf" domain type can be used to run +hardware-accelerated VMs on macOS via +`Hypervisor.framework `__. +QEMU version 2.12 or newer is needed for this to work. + + +Installation +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +libvirt client (virsh), server (libvirtd) and development headers can be +installed from `Homebrew `__: + +:: + + brew install libvirt + + +Running libvirtd locally +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +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. diff --git a/docs/meson.build b/docs/meson.build index 3e912f21ad..717d3c025c 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -106,6 +106,7 @@ docs_rst_files =3D [ 'hacking', 'libvirt-go', 'libvirt-go-xml', + 'macos', 'migration', 'newreposetup', 'pci-addresses', --=20 2.31.1