Allow using raw and qcow disks by removing the hardcoded raw format

This commit is contained in:
NoRelect 2024-01-02 20:30:03 +01:00
parent 512058a68d
commit 9406424657
No known key found for this signature in database
GPG Key ID: 5AE571172B55D4A2

View File

@ -46,7 +46,7 @@ impl QemuParams {
FuzzRunnerConfig::QemuSnapshot(x) => { FuzzRunnerConfig::QemuSnapshot(x) => {
cmd.push(x.qemu_binary.to_string()); cmd.push(x.qemu_binary.to_string());
cmd.push("-drive".to_string()); cmd.push("-drive".to_string());
cmd.push(format!("file={},format=raw,index=0,media=disk", x.hda.to_string())); cmd.push(format!("file={},index=0,media=disk", x.hda.to_string()));
}, },
} }