mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix default disk type when parsing QEMU argv
* src/qemu/qemu_conf.c: Fix default disk type to be 'FILE' again, after previous commit accidentally changed it
This commit is contained in:
parent
fb7cebb767
commit
8f147d16f1
@ -2778,6 +2778,7 @@ qemuParseCommandLineDisk(virConnectPtr conn,
|
||||
|
||||
def->bus = VIR_DOMAIN_DISK_BUS_IDE;
|
||||
def->device = VIR_DOMAIN_DISK_DEVICE_DISK;
|
||||
def->type = VIR_DOMAIN_DISK_TYPE_FILE;
|
||||
|
||||
for (i = 0 ; i < nkeywords ; i++) {
|
||||
if (STREQ(keywords[i], "file")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user