From: Peter Krempa Date: Tue, 18 Jun 2019 11:33:52 +0000 (+0200) Subject: docs: drvqemu: Drop old example for domxml-to-native X-Git-Tag: v5.5.0-rc1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec1550827d90eb1ffd14d8ad88df3e9fdb63dbc2;p=thirdparty%2Flibvirt.git docs: drvqemu: Drop old example for domxml-to-native The example is very outdated and we dropped the support for it anyways. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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=C PATH=/bin HOME=/home/test USER=test \
-LOGNAME=test /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='qemu'>
-  <uuid>00000000-0000-0000-0000-000000000000</uuid>
-  <memory>219136</memory>
-  <currentMemory>219136</currentMemory>
-  <vcpu>1</vcpu>
-  <os>
-    <type arch='i686' machine='pc'>hvm</type>
-    <boot dev='hd'/>
-  </os>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
-  <devices>
-    <emulator>/usr/bin/qemu</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='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