]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
fuzz: fix the generic-fuzz-floppy config
authorAlexander Bulekov <alxndr@bu.edu>
Wed, 16 Dec 2020 20:33:27 +0000 (15:33 -0500)
committerThomas Huth <thuth@redhat.com>
Fri, 18 Dec 2020 11:05:19 +0000 (12:05 +0100)
On the pc-i440fx machine, the floppy drive relies on the i8257 DMA
controller. Add this device to the floppy fuzzer config, and silence the
warning about a missing format specifier for the null-co:// drive.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201216203328.41112-1-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/generic_fuzz_configs.h

index fbc9779f7f0038d37bd4f246c0ca8babbff47530..7fed035345b1c45856c4f34927a9785f31c5455f 100644 (file)
@@ -92,9 +92,9 @@ const generic_fuzz_config predefined_configs[] = {
     },{
         .name = "floppy",
         .args = "-machine pc -nodefaults -device floppy,id=floppy0 "
-        "-drive id=disk0,file=null-co://,file.read-zeroes=on,if=none "
+        "-drive id=disk0,file=null-co://,file.read-zeroes=on,if=none,format=raw "
         "-device floppy,drive=disk0,drive-type=288",
-        .objects = "fd* floppy*",
+        .objects = "fd* floppy* i8257",
     },{
         .name = "xhci",
         .args = "-machine q35 -nodefaults "