[libvirt] [PATCH 3/4] tests: qemuxml2argv: Remove the 'no-shutdown' test completely

Peter Krempa pkrempa at redhat.com
Mon Aug 27 16:09:08 UTC 2018


Now we assume the flag always so there's no use for this test. Probably
a leftover from the cleanup of the capability.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemuxml2argvdata/no-shutdown.args | 27 ---------------------------
 tests/qemuxml2argvdata/no-shutdown.xml  | 24 ------------------------
 2 files changed, 51 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/no-shutdown.args
 delete mode 100644 tests/qemuxml2argvdata/no-shutdown.xml

diff --git a/tests/qemuxml2argvdata/no-shutdown.args b/tests/qemuxml2argvdata/no-shutdown.args
deleted file mode 100644
index 085e91162d..0000000000
--- a/tests/qemuxml2argvdata/no-shutdown.args
+++ /dev/null
@@ -1,27 +0,0 @@
-LC_ALL=C \
-PATH=/bin \
-HOME=/home/test \
-USER=test \
-LOGNAME=test \
-QEMU_AUDIO_DRV=none \
-/usr/bin/qemu-system-i686 \
--name encryptdisk \
--S \
--machine pc,accel=tcg,usb=off,dump-guest-core=off \
--m 214 \
--smp 1,sockets=1,cores=1,threads=1 \
--uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
--display none \
--no-user-config \
--nodefaults \
--chardev socket,id=charmonitor,\
-path=/tmp/lib/domain--1-encryptdisk/monitor.sock,server,nowait \
--mon chardev=charmonitor,id=monitor,mode=control \
--rtc base=utc \
--no-shutdown \
--no-acpi \
--boot c \
--usb \
--drive file=/dev/hda1,format=qcow2,if=none,id=drive-ide0-0-0 \
--device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
--device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
diff --git a/tests/qemuxml2argvdata/no-shutdown.xml b/tests/qemuxml2argvdata/no-shutdown.xml
deleted file mode 100644
index d714bae4d3..0000000000
--- a/tests/qemuxml2argvdata/no-shutdown.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<domain type='qemu'>
-  <name>encryptdisk</name>
-  <uuid>496898a6-e6ff-f7c8-5dc2-3cf410945ee9</uuid>
-  <memory unit='KiB'>219100</memory>
-  <currentMemory unit='KiB'>219100</currentMemory>
-  <vcpu placement='static'>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-system-i686</emulator>
-    <disk type='file' device='disk'>
-      <driver name='qemu' type='qcow2'/>
-      <source file='/dev/hda1'/>
-      <target dev='hda'/>
-    </disk>
-    <memballoon model='virtio'/>
-  </devices>
-</domain>
-- 
2.16.2




More information about the libvir-list mailing list