[virt-tools-list] [virt-manager PATCH] Don't use SCSI or USB disks with stable_defaults

Martin Kletzander mkletzan at redhat.com
Tue Jan 28 10:27:49 UTC 2014


One more fix I forgot to ammend into commit dc0b9bb.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 virtManager/addhardware.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index 36174e9..1148d14 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -809,7 +809,7 @@ class vmmAddHardware(vmmGObjectUI):
             model.append(["ide", "IDE"])
             model.append(["fdc", "Floppy"])

-            if self.vm.stable_defaults():
+            if not self.vm.stable_defaults():
                 model.append(["scsi", "SCSI"])
                 model.append(["usb", "USB"])

-- 
1.8.5.3




More information about the virt-tools-list mailing list