From nobody Sun May 5 21:51:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560857923; cv=none; d=zoho.com; s=zohoarc; b=N4i/OV7xVPLAbgTYbO3BrblWZ6S5HKcI1YsDHo6IgGejBHdydcogIuHYc3F91PnCY/n2Atjc4ikBig1k2KaQTgYv0YxyO3bcT2zDdLPM40uh1QZ2QhjvxSIoxRD8d3iDbpt5weZPACodXmTqgi9p+E17Zd73J0YinO8kP/brW60= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560857923; h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results; bh=lP4KMLTXVGqf/WIyrum5jFNrRicgKHVF7WTi48MCSCI=; b=GyE2nwTO99bgGO0C4IHuvE4cVgwLxsIhIjZpmEkZ5O0aJcBnqoZal1gRBFpgNqpwP4CY+L7o8J9G/QTVV2zOuItvqTxsWWYvwYaTIBOs9ZPO3sdj6VB5aFYrD5G928BkVvTyNDJkcYA/kgbrIiKaj/xUe1+JAoH+YQj2IusFQHQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560857923348158.2495032916636; Tue, 18 Jun 2019 04:38:43 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id B0BB43082AF2; Tue, 18 Jun 2019 11:38:38 +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 8CAFC69A23; Tue, 18 Jun 2019 11:38:38 +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 48120E161; Tue, 18 Jun 2019 11:38:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x5IBcEDq027041 for ; Tue, 18 Jun 2019 07:38:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5401082749; Tue, 18 Jun 2019 11:38:14 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id D3FEA5C1B5 for ; Tue, 18 Jun 2019 11:38:13 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 18 Jun 2019 13:38:06 +0200 Message-Id: <476f70cb01d441aaccd9b197bf7978782e34781b.1560857760.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/5] docs: drvqemu: Clarify caveats of domxml-to-native 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Tue, 18 Jun 2019 11:38:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Explicitly state that the conversion nowadays produces results which aren't really usable manually as it requires all the stuff which is usually prepared by libvirtd. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/drvqemu.html.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index 0218b5a7a9..65712cfb47 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -478,7 +478,10 @@ $ virsh domxml-from-native qemu-argv demo.args

The virsh domxml-to-native provides a way to convert a guest description using libvirt Domain XML, into a set of QEMU args - that can be run manually. + that can be run manually. Note that currently the command line forma= tted + by libvirt is no longer suited for manually running qemu as the + configuration expects various resources and open file descriptors pa= ssed + to the process which are usually prepared by libvirtd.

$ cat > demo.xml <<EOF
--=20
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
From nobody Sun May  5 21:51:32 2024
Delivered-To: importer@patchew.org
Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28
 as permitted sender) client-ip=209.132.183.28;
 envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com;
Authentication-Results: mx.zohomail.com;
	spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560857913; cv=none;
	d=zoho.com; s=zohoarc;
	b=mN4O+IkrRi/I/eC9dT823F/oRHx4NFsOGhkqc4bTIXi4Lo2hc2nGF0c8HoVwRX+CSbkiJiGuxKtMz5iKD3HVHvB8+3v2UcNiYU46uauZe15p8jVcdtnvXXHYsxMavSJ1VjW2BFKx6B92n3Of7u3HU7FLl+Yei4LMMkwxo6CWGzs=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc;
	t=1560857913;
 h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results;
	bh=jbRuZeovxRhv+AFZ2/Vk77iJJ2SVNOSG/OTadCvfrOc=;
	b=BPTpgZCBWEW4vPRQBtXftXliz3EC/1WWOIko2+hVeJf30pEVTE7Us8XGC6fFyDg5B6GIuMHd+Ra8fZ6VjqgiDHWKxA7z+tk1c90UrDWwTZxkhZXxCT+fa7xhITgueOJODT43msdy6YzKXS2eMVPMfmZFvnF43ohx0O2T0tTn3/I=
ARC-Authentication-Results: i=1; mx.zoho.com;
	spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as
 permitted sender)  smtp.mailfrom=libvir-list-bounces@redhat.com;
	dmarc=pass header.from= (p=none dis=none)
 header.from=
Return-Path: 
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by
 mx.zohomail.com
	with SMTPS id 1560857913476371.51186363056695;
 Tue, 18 Jun 2019 04:38:33 -0700 (PDT)
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 mx1.redhat.com (Postfix) with ESMTPS id 94D5C882FD;
	Tue, 18 Jun 2019 11:38:26 +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 54E1E7E5CD;
	Tue, 18 Jun 2019 11:38:22 +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 670D01833003;
	Tue, 18 Jun 2019 11:38:17 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com
	[10.5.11.16])
	by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id x5IBcFsD027047 for ;
	Tue, 18 Jun 2019 07:38:15 -0400
Received: by smtp.corp.redhat.com (Postfix)
	id 20B6482749; Tue, 18 Jun 2019 11:38:15 +0000 (UTC)
Received: from angien.brq.redhat.com (unknown [10.43.2.229])
	by smtp.corp.redhat.com (Postfix) with ESMTP id 9FE9A5C1B5
	for ; Tue, 18 Jun 2019 11:38:14 +0000 (UTC)
From: Peter Krempa 
To: libvir-list@redhat.com
Date: Tue, 18 Jun 2019 13:38:07 +0200
Message-Id: 
 <58982f5bfab85e5ccbf0c9df915d0b98633c6168.1560857760.git.pkrempa@redhat.com>
In-Reply-To: 
References: 
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-loop: libvir-list@redhat.com
Subject: [libvirt] [PATCH 2/5] docs: drvqemu: Remove outdated example of
	virsh domxml-from-native
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: ,
	
Content-Transfer-Encoding: quoted-printable
Sender: libvir-list-bounces@redhat.com
Errors-To: libvir-list-bounces@redhat.com
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted,
 not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]);
 Tue, 18 Jun 2019 11:38:32 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"

The current version will definitely not provide such a neat commandline.

Signed-off-by: Peter Krempa 
Reviewed-by: J=C3=A1n Tomko 
---
 docs/drvqemu.html.in | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in
index 65712cfb47..cf3af03126 100644
--- a/docs/drvqemu.html.in
+++ b/docs/drvqemu.html.in
@@ -484,40 +484,6 @@ $ virsh domxml-from-native qemu-argv demo.args
       to the process which are usually prepared by libvirtd.
     

-
$ cat > demo.xml <<EOF
-<domain type=3D'qemu'>
-  <name>QEMUGuest1</name>
-  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
-  <memory>219200</memory>
-  <currentMemory>219200</currentMemory>
-  <vcpu>1</vcpu>
-  <os>
-    <type arch=3D'i686' machine=3D'pc'>hvm</type>
-    <boot dev=3D'hd'/>
-  </os>
-  <clock offset=3D'utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
-  <devices>
-    <emulator>/usr/bin/qemu</emulator>
-    <disk type=3D'block' device=3D'disk'>
-      <source dev=3D'/dev/HostVG/QEMUGuest1'/>
-      <target dev=3D'hda' bus=3D'ide'/>
-    </disk>
-  </devices>
-</domain>
-EOF
-
-$ virsh domxml-to-native qemu-argv demo.xml
-  LC_ALL=3DC PATH=3D/usr/bin:/bin HOME=3D/home/test \
-  USER=3Dtest LOGNAME=3Dtest /usr/bin/qemu -S -M pc \
-  -no-kqemu -m 214 -smp 1 -name QEMUGuest1 -nographic \
-  -monitor pty -no-acpi -boot c -drive \
-  file=3D/dev/HostVG/QEMUGuest1,if=3Dide,index=3D0 -net none \
-  -serial none -parallel none -usb
-
-

Pass-through of arbitrary qemu commands

--=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 21:51:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560857947; cv=none; d=zoho.com; s=zohoarc; b=EI6IG4cRETE2Qg/0MQecgJGUBrbuNdHFe7pqT6roaZUBnSbH+sQFbCQcjvnGoRDsYyC0oh7qspBVKXU04mpby+wkPxMBL5lzlNIuap5pe45Fsp2tbRKabF/MSpzD2udpGB08aELXMPhgpf68ONdrZ62uJE8101QLpoisWRZvJgg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560857947; h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results; bh=cJXMsR0x1VNQItWL4jC3bNicGB+zry1y9EMY851YN48=; b=DS0AIiT0UF/25SPm2JQxJYF959g7/EiR3/f6Gc0KmzpsfM+327TteXSSnhlAJYk4K/dQ3ci8qEpuOpt4l7Q2Yizue0RUEQc7H8gQfxbImPonrn7GMJPl492lcs8ARB4MQG5QbYbhKjpqbczq9Q2Plz2NtadPaXxPO64Ni17SnNM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560857947376274.7909689488913; Tue, 18 Jun 2019 04:39:07 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56A50A70E; Tue, 18 Jun 2019 11:39:05 +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 34AB617C41; Tue, 18 Jun 2019 11:39:05 +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 DF3CDE165; Tue, 18 Jun 2019 11:39:04 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x5IBcFeE027059 for ; Tue, 18 Jun 2019 07:38:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id E221A82749; Tue, 18 Jun 2019 11:38:15 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C43F5C1B5 for ; Tue, 18 Jun 2019 11:38:15 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 18 Jun 2019 13:38:08 +0200 Message-Id: <3cfd6b9ac4b854d1ef6a4bf1a2749bf88e9a1111.1560857760.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 3/5] docs: css: Add style for ... 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 18 Jun 2019 11:39:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Allow marking of the deprecation of features similarly how we mark introduction of features. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/libvirt.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/libvirt.css b/docs/libvirt.css index 8238f0275c..4c7afc4042 100644 --- a/docs/libvirt.css +++ b/docs/libvirt.css @@ -274,6 +274,12 @@ span.since { font-weight: bold; } +span.deprecated { + color: darkred; + font-style: italic; + font-weight: bold; +} + img.diagram { background: rgb(230,230,230); border: 2px dotted rgb(178,178,178); --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 21:51:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560857959; cv=none; d=zoho.com; s=zohoarc; b=ZzMWGiLHeWECv4F875O8WdmYv0ujNVypSM/YJcCQnpCwON2flptCCJFgb97Ed05az+cUvCNpUlM/4xsleGyMaAkFN3MFqsGmXuvjWrcDaG/7MDQV7JIQf2WcfYxWALKfKf73uib7iiF1m5Mt1mwaHl58FJUzSOVBg2XgXgc9xGQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560857959; h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results; bh=omVpEONU9QGJKSpNz8ZC9aoVFFCPCHMYLVvMfk2K51o=; b=Xhm1rIMNKSM7sWE0nB5QIjCuHa/rnrgqKr8n+Jd5RCdflI34pn3whq+sDrnfuZXSGYpRACYI50eIXfV4bPM1oyyWLEIl8OxU124OsBHHzxFaqDzUt3elMy8kAFPWyILWYmR52uNVo0/PgLaBzi86+ewsP/1PH459x2Cuo6LwKYU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560857959378995.9632038740184; Tue, 18 Jun 2019 04:39:19 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id DCE7A81114; Tue, 18 Jun 2019 11:39:17 +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 AE8958207F; Tue, 18 Jun 2019 11:39: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 74F4FE16A; Tue, 18 Jun 2019 11:39:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x5IBcGpP027066 for ; Tue, 18 Jun 2019 07:38:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id AE1C282749; Tue, 18 Jun 2019 11:38:16 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38B2D5C1B5 for ; Tue, 18 Jun 2019 11:38:16 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 18 Jun 2019 13:38:09 +0200 Message-Id: <1d90ed56e07cb54087b23b1b5dbaed4893be1c14.1560857760.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 4/5] docs: drvqemu: Add note about deprecation of domxml-from-native 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 18 Jun 2019 11:39:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Add a warning that the operation will no longer work. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/drvqemu.html.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index cf3af03126..601f918091 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -426,6 +426,10 @@ mount -t cgroup none /dev/cgroup -o devices

Converting from QEMU args to domain XML +

+ Note: this operation is deprecate= d as of + 5.5.0 and will return an error. +

The virsh domxml-from-native provides a way to convert an existing set of QEMU args into a guest description --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 21:51:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560857944; cv=none; d=zoho.com; s=zohoarc; b=YJKNzc8g+bP8f7uU/odXAt+xxqv6WHTLfPNcdekBOn0XUzg+/yh2ynKYpGm5RYCZ6+/MlK5qmCtOL/nV+luh9cVMBZmx46ovWLYCEAPU3VI/z5WjHDrJY9kw19CKLzvlQ0gQ9p612xg6BCn+O52+POzU1dDtAly275tjwJPd/5Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560857944; h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results; bh=XViM/qGoyLITi3JlVIFELIo9jhpTg+lrTdNrfa4yRvQ=; b=SOoqmTXbM/fKXP50zgN40ccoeckquS6jgaRp4zoFfiRqWzmYyxGhBSQpKBdyNTzYuMHDwMLqN0/AkMXO75W0as7BSCOeaf1LP6EaQhLrw0xCRHMvLU5FnR/NqXXVEpwwCvmLVoZ45BM5SCzl3Yifp8yG8Rs0JbKOGbmEhb5SWyw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560857944820671.1356036893114; Tue, 18 Jun 2019 04:39:04 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 403D68831C; Tue, 18 Jun 2019 11:39:03 +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 1BC7617AE6; Tue, 18 Jun 2019 11:39:03 +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 D15BEE163; Tue, 18 Jun 2019 11:39:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x5IBcHaC027074 for ; Tue, 18 Jun 2019 07:38:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7978F5C1B5; Tue, 18 Jun 2019 11:38:17 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 04DB282749 for ; Tue, 18 Jun 2019 11:38:16 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 18 Jun 2019 13:38:10 +0200 Message-Id: <4f25b5f0d110ed933caf1365440f798e409bad37.1560857760.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 5/5] docs: drvqemu: Drop old example for domxml-to-native 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 18 Jun 2019 11:39:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The example is very outdated and we dropped the support for it anyways. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/drvqemu.html.in | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index 601f918091..cf36f6cc7b 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -443,40 +443,6 @@ mount -t cgroup none /dev/cgroup -o devices examples) or by manually crafting XML to pass to virsh.

-
$ cat > demo.args <<EOF
-LC_ALL=3DC PATH=3D/bin HOME=3D/home/test USER=3Dtest \
-LOGNAME=3Dtest /usr/bin/qemu -S -M pc -m 214 -smp 1 \
--nographic -monitor pty -no-acpi -boot c -hda \
-/dev/HostVG/QEMUGuest1 -net none -serial none \
--parallel none -usb
-EOF
-
-$ virsh domxml-from-native qemu-argv demo.args
-<domain type=3D'qemu'>
-  <uuid>00000000-0000-0000-0000-000000000000</uuid>
-  <memory>219136</memory>
-  <currentMemory>219136</currentMemory>
-  <vcpu>1</vcpu>
-  <os>
-    <type arch=3D'i686' machine=3D'pc'>hvm</type>
-    <boot dev=3D'hd'/>
-  </os>
-  <clock offset=3D'utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
-  <devices>
-    <emulator>/usr/bin/qemu</emulator>
-    <disk type=3D'block' device=3D'disk'>
-      <source dev=3D'/dev/HostVG/QEMUGuest1'/>
-      <target dev=3D'hda' bus=3D'ide'/>
-    </disk>
-  </devices>
-</domain>
-
- -

NB, don't include the literal \ in the args, put everything on one = line

-

Converting from domain XML to QEMU args

--=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list