mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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…
Reference in New Issue
Block a user