---
 src/conf/domain_conf.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index a1febda..b1432ef 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 &&
-- 
2.8.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to