提交 1e463880 编写于 作者: J Ján Tomko

tests: remove disk-drive-fat test

This test requests a read-only virtual FAT drive on the IDE bus.
Read-only IDE drives are unsupported, but libvirt only displays
the error if it has the QEMU_CAPS_DRIVE_READONLY capability.
Read-write FAT drives are also unsupported.
上级 5c4b6e8f
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
/usr/bin/qemu \
-name QEMUGuest1 \
-S \
-M pc \
-m 214 \
-smp 1 \
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
-nographic \
-nodefaults \
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
-no-acpi \
-boot c \
-usb \
-drive file=fat:/var/somefiles,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
<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219136</memory>
<currentMemory unit='KiB'>219136</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</emulator>
<disk type='dir' device='disk'>
<driver name='qemu' type='fat'/>
<source dir='/var/somefiles'/>
<target dev='hda' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0'/>
<controller type='ide' index='0'/>
<controller type='pci' index='0' model='pci-root'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<memballoon model='virtio'/>
</devices>
</domain>
...@@ -758,8 +758,6 @@ mymain(void) ...@@ -758,8 +758,6 @@ mymain(void)
QEMU_CAPS_DRIVE_BOOT); QEMU_CAPS_DRIVE_BOOT);
DO_TEST("floppy-drive-fat", DO_TEST("floppy-drive-fat",
QEMU_CAPS_DRIVE_BOOT); QEMU_CAPS_DRIVE_BOOT);
DO_TEST("disk-drive-fat",
QEMU_CAPS_DRIVE_BOOT);
DO_TEST("disk-drive-readonly-disk", DO_TEST("disk-drive-readonly-disk",
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_NODEFCONFIG); QEMU_CAPS_NODEFCONFIG);
......
...@@ -375,7 +375,6 @@ mymain(void) ...@@ -375,7 +375,6 @@ mymain(void)
DO_TEST("disk-drive-error-policy-stop"); DO_TEST("disk-drive-error-policy-stop");
DO_TEST("disk-drive-error-policy-enospace"); DO_TEST("disk-drive-error-policy-enospace");
DO_TEST("disk-drive-error-policy-wreport-rignore"); DO_TEST("disk-drive-error-policy-wreport-rignore");
DO_TEST("disk-drive-fat");
DO_TEST("disk-drive-fmt-qcow"); DO_TEST("disk-drive-fmt-qcow");
DO_TEST("disk-drive-copy-on-read"); DO_TEST("disk-drive-copy-on-read");
DO_TEST("disk-drive-cache-v2-wt"); DO_TEST("disk-drive-cache-v2-wt");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册