1
0
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:
Peter Krempa 2016-04-20 16:40:48 +02:00
parent d3ab5ff49d
commit af93e2bf3d

View File

@ -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 &&