From ec1550827d90eb1ffd14d8ad88df3e9fdb63dbc2 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 18 Jun 2019 13:33:52 +0200 Subject: [PATCH] docs: drvqemu: Drop old example for domxml-to-native MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The example is very outdated and we dropped the support for it anyways. Signed-off-by: Peter Krempa Reviewed-by: Ján 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=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

-- 2.47.2