From nobody Tue Feb 10 12:57:37 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=1641549073; cv=none; d=zohomail.com; s=zohoarc; b=XLJXtgILDF3AogAKnU+r0iAZ5DfI3JP+eOW1GXKu7VkPBRA1tFIUBU2ql/rySNAP8osgFMfun83aM3I/W9webI6xaG00YVKEmnIDmfc3qZ8j4RV4eavRPfM+/2fMsyINdZVs6cvLcQ7HfUEr61p3PjycyOh67HvG6Ukf7fFH4yw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641549073; 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=2RRK7IrNELbMy0tmtQLxXQ3yl6WwXPvMb87RY0d67BA=; b=ENrOZMz4YevhcploX/2kGao5U4wRd+IrZK9mmrx017FeeIvTphlKnY8aeD7RNtw8kx9Np5hnfK7DYW1X/BvDPF0qXg6xnvkwr3UF7mAeMvra+2m1v6aTVsTd8Pa7E5EY8+H4egiRrepgQ2SOX4H+GsH7h8ff3Yap57iBvjFsZvk= 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 1641549073948930.648089945704; Fri, 7 Jan 2022 01:51:13 -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-387-A2nM2m5dNjqMMhUKozFJQg-1; Fri, 07 Jan 2022 04:51:11 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 932A91014509; Fri, 7 Jan 2022 09:51:04 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 345687CD65; Fri, 7 Jan 2022 09:51:04 +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 ECFC44A708; Fri, 7 Jan 2022 09:51:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 2079p2Tf010315 for ; Fri, 7 Jan 2022 04:51:02 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8B2E9749BE; Fri, 7 Jan 2022 09:51:02 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.192.224]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 840156128B; Fri, 7 Jan 2022 09:51:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641549072; 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=2RRK7IrNELbMy0tmtQLxXQ3yl6WwXPvMb87RY0d67BA=; b=KK0leJxWuaWwvk3r1BguLTA+D3zeU5b2L9WG9xxT6TtXPYZl92g68qCoZO+yGdFWwZhUCY d0yHBO20Ki48EGo7+sLt2e3jTRmJY64u/40NzgZRv+NeC5ZihAetTGMJi0w2OS+tW9QW0S By3ow2iBgEXlW2BFFbIriPxXRK+JRvY= X-MC-Unique: A2nM2m5dNjqMMhUKozFJQg-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v4 17/19] docs: Add support page for libvirt on macOS Date: Fri, 7 Jan 2022 10:47:44 +0100 Message-Id: <20220107094746.1042621-18-abologna@redhat.com> In-Reply-To: <20220107094746.1042621-1-abologna@redhat.com> References: <20220107094746.1042621-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.12 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: 1641549075123100001 Content-Type: text/plain; charset="utf-8" From: Roman Bolshakov Signed-off-by: Roman Bolshakov Signed-off-by: Andrea Bolognani --- 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..7792ad8819 --- /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.0.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