From f1050095e83b0966c79cf91a495bd08dc724bf2e Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivan@redhat.com>
Date: Wed, 19 Mar 2014 13:52:10 +0100
Subject: [PATCH 1/2] virt-manager: disable filesystem passtrough on RHEL
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1077172
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
(cherry picked from commit a7050f918f85a235e117d6c7f2b49d367ec7163c)
Conflicts:
virtManager/addhardware.py
---
virtManager/addhardware.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index 51a01da..c7081a1 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -418,7 +418,8 @@ class vmmAddHardware(vmmGObjectUI):
virtinst.support.check_conn_hv_support(
self.conn.vmm,
virtinst.support.SUPPORT_CONN_HV_FILESYSTEM,
- self.vm.get_hv_type()),
+ self.vm.get_hv_type())
+ and not self.vm.stable_defaults(),
_("Not supported for this hypervisor/libvirt "
"combination."))
add_hw_option("Smartcard", "device_serial", PAGE_SMARTCARD,
--
1.8.3.1