mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Revert "block: Remove deprecated -drive option serial"
This reverts commit b008326744
.
Hold off removing this for one more QEMU release (current libvirt
release still uses it.)
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
19a49c5637
commit
44e8b4689c
14 changed files with 48 additions and 8 deletions
|
@ -180,12 +180,12 @@ static AHCIQState *ahci_boot(const char *cli, ...)
|
|||
s = ahci_vboot(cli, ap);
|
||||
va_end(ap);
|
||||
} else {
|
||||
cli = "-drive if=none,id=drive0,file=%s,cache=writeback,format=%s"
|
||||
cli = "-drive if=none,id=drive0,file=%s,cache=writeback,serial=%s"
|
||||
",format=%s"
|
||||
" -M q35 "
|
||||
"-device ide-hd,drive=drive0 "
|
||||
"-global ide-hd.serial=%s "
|
||||
"-global ide-hd.ver=%s";
|
||||
s = ahci_boot(cli, tmp_path, imgfmt, "testdisk", "version");
|
||||
s = ahci_boot(cli, tmp_path, "testdisk", imgfmt, "version");
|
||||
}
|
||||
|
||||
return s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue