From nobody Mon Feb 9 00:20:02 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=1642787815; cv=none; d=zohomail.com; s=zohoarc; b=aW6hbzj9UjyZUAvqey1iqWHUv+Omq2A/vVoI4Im4BHIMSdR+/SZXKVW3SS2451zLW3dkAdA/ED7nKGu4TiDU3wa/VXePW9RpAlyZXFDMKPvvTu076dlcIPVkzkrKYI0rLL7/YcqMjMAsPCUz52azgv+IUfjA7pTacBT2JGSDSHc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642787815; 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=lv+WXQChAoEI5hlr7swSAdkYLZB8pektWgQ6ViO79EM=; b=DfFJqvpGjC6APiQMG13idoNm+jPKFPdQFtSyq1eo4rWLXKhfdRWjcenLifxRgXJcQM+9yJt4IKUHvG2AMf9DePpRzrx+vVbuE66W2gl2igGt6Vczia8R9HY6dt63EbEvHHGM4sHtlbSAskxYbhp/QxTJpYCXYlOf8ZN6A8bG0zc= 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 1642787815710199.8823441214663; Fri, 21 Jan 2022 09:56:55 -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-661-Cia1NUZxNjOV23sVe640dw-1; Fri, 21 Jan 2022 12:56:53 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BCF9784DA7A; Fri, 21 Jan 2022 17:56:45 +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 6E84B7A4A9; Fri, 21 Jan 2022 17:56:45 +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 0F42A4A705; Fri, 21 Jan 2022 17:56:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20LHtelH005825 for ; Fri, 21 Jan 2022 12:55:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7FF2684D25; Fri, 21 Jan 2022 17:55:40 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.193.72]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B013984D2C; Fri, 21 Jan 2022 17:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642787814; 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=lv+WXQChAoEI5hlr7swSAdkYLZB8pektWgQ6ViO79EM=; b=Hdt6NF1I5ukOznc34g58eIiaPix3hGN56bCzepsohvCNmgXiVn2a1CsjW4JMpw0c3Nzaq/ CNV6uRfQic5xbG03zfyAi/3k1jcCEVq9CHfcFUF3lqsvh9AFlGpslrGJuL+WkutZIhTJER o4PgghckNXfjJv8hh4BFYdisSdCP00Q= X-MC-Unique: Cia1NUZxNjOV23sVe640dw-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v7 17/18] docs: Add support page for libvirt on macOS Date: Fri, 21 Jan 2022 18:54:57 +0100 Message-Id: <20220121175458.162675-18-abologna@redhat.com> In-Reply-To: <20220121175458.162675-1-abologna@redhat.com> References: <20220121175458.162675-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.14 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1642787816379100001 From: Roman Bolshakov Signed-off-by: Roman Bolshakov Signed-off-by: Andrea Bolognani Tested-by: Brad Laue Tested-by: Christophe Fergeau Reviewed-by: Daniel P. Berrang=C3=A9 --- 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 50c12cc3c2..4168bebc8b 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.34.1