mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
conf: disk: Don't bother setting removable state to 0 by default
This commit is contained in:
parent
d3ab5ff49d
commit
af93e2bf3d
@ -7407,9 +7407,6 @@ virDomainDiskDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||
_("removable is only valid for usb disks"));
|
||||
goto error;
|
||||
}
|
||||
} else {
|
||||
if (def->bus == VIR_DOMAIN_DISK_BUS_USB)
|
||||
def->removable = VIR_TRISTATE_SWITCH_ABSENT;
|
||||
}
|
||||
|
||||
if (def->device == VIR_DOMAIN_DISK_DEVICE_FLOPPY &&
|
||||
|
Loading…
Reference in New Issue
Block a user