[PATCH 09/14] conf: disk: Don't bother setting removable state to 0 by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]