]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemu: minimize fs9p.xml
authorJán Tomko <jtomko@redhat.com>
Tue, 16 Jul 2019 10:50:44 +0000 (12:50 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 16 Jul 2019 15:00:36 +0000 (17:00 +0200)
Remove the hard drive, USB controller and memballoon.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
tests/qemuxml2argvdata/fs9p.args
tests/qemuxml2argvdata/fs9p.xml

index caeb672760e718ab767b239c835e281722827333..5b028c7a8097b636a72f006d26078e3c3a6c248b 100644 (file)
@@ -24,9 +24,6 @@ server,nowait \
 -rtc base=utc \
 -no-shutdown \
 -no-acpi \
--usb \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
 -fsdev local,security_model=passthrough,id=fsdev-fs0,path=/export/to/guest \
 -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=/import/from/host,\
 bus=pci.0,addr=0x3 \
@@ -36,5 +33,4 @@ path=/export/to/guest2 \
 bus=pci.0,addr=0x4 \
 -fsdev handle,writeout=immediate,id=fsdev-fs2,path=/export/to/guest3 \
 -device virtio-9p-pci,id=fs2,fsdev=fsdev-fs2,mount_tag=/import/from/host3,\
-bus=pci.0,addr=0x5 \
--device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
+bus=pci.0,addr=0x5
index 9216ea97ae43369a30a84ee0bf095bf22555d1b1..aaa7c466b418aba8d2e86af6ddc8b1d3861fa7f4 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-i686</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
-    <controller type='usb' index='0'/>
-    <controller type='ide' index='0'/>
+    <controller type='usb' index='0' model='none'/>
     <filesystem type='mount'>
       <source dir='/export/to/guest'/>
       <target dir='/import/from/host'/>
@@ -35,5 +29,6 @@
       <source dir='/export/to/guest3'/>
       <target dir='/import/from/host3'/>
     </filesystem>
+    <memballoon model='none'/>
   </devices>
 </domain>