Skip to content

Commit

Permalink
fuzz: fix the generic-fuzz-floppy config
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
  • Loading branch information
a1xndr authored and huth committed Dec 18, 2020
1 parent cbe945c commit d61368d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/qtest/fuzz/generic_fuzz_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit d61368d

Please sign in to comment.