From: Peter Krempa Date: Wed, 20 Apr 2016 14:40:48 +0000 (+0200) Subject: conf: disk: Don't bother setting removable state to 0 by default X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=af93e2bf3db82fc701c2808f763b10fe1f6a2988;p=libvirt.git conf: disk: Don't bother setting removable state to 0 by default --- diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index a1febda683..b1432ef032 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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 &&