tests: qemu: minimize fs9p.xml

Remove the hard drive, USB controller and memballoon.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Ján Tomko 2019-07-16 12:50:44 +02:00
parent 432faf259b
commit 18e41d6c00
2 changed files with 3 additions and 12 deletions

View 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

View File

@ -14,13 +14,7 @@
<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>