mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 23:37:42 +00:00
Fix generation of floppy disk arg for QEMU's -global arg
* src/qemu/qemu_conf.c: Fix ',' vs '.' typo in floppy disk arg
This commit is contained in:
parent
f8b1b4bab9
commit
9f013d5779
@ -3521,7 +3521,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
|
|||||||
char *fdc;
|
char *fdc;
|
||||||
ADD_ARG_LIT("-global");
|
ADD_ARG_LIT("-global");
|
||||||
|
|
||||||
if (virAsprintf(&fdc, "isa-fdc,drive%c=drive-%s",
|
if (virAsprintf(&fdc, "isa-fdc.drive%c=drive-%s",
|
||||||
disk->info.addr.drive.unit ? 'B' : 'A',
|
disk->info.addr.drive.unit ? 'B' : 'A',
|
||||||
disk->info.alias) < 0)
|
disk->info.alias) < 0)
|
||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
Loading…
Reference in New Issue
Block a user