[virt-tools-list] [PATCH virt-manager 1/2] virt-manager: disable filesystem passtrough on RHEL

Giuseppe Scrivano gscrivan at redhat.com
Wed Mar 19 15:36:02 UTC 2014


Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1077172

Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 virtManager/addhardware.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index 1e91505..4bd776c 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -370,7 +370,8 @@ class vmmAddHardware(vmmGObjectUI):
                       _("Not supported for this guest type."))
         add_hw_option("Filesystem", Gtk.STOCK_DIRECTORY, PAGE_FILESYSTEM,
                       self.conn.check_support(
-                        self.conn.SUPPORT_CONN_FILESYSTEM),
+                        self.conn.SUPPORT_CONN_FILESYSTEM) and
+                      not self.vm.stable_defaults(),
                       _("Not supported for this hypervisor/libvirt "
                         "combination."))
         add_hw_option("Smartcard", "device_serial", PAGE_SMARTCARD,
-- 
1.8.5.3




More information about the virt-tools-list mailing list