Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo(a)linux.vnet.ibm.com>
On 02/02/2016 02:26 PM, Ramon Medeiros wrote:
Vhosts-net wasn't support on the past. Now, as it works, enable
the
feature.
Signed-off-by: Ramon Medeiros <ramonn(a)linux.vnet.ibm.com>
---
xmlutils/interface.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/xmlutils/interface.py b/xmlutils/interface.py
index 814caf9..de80524 100644
--- a/xmlutils/interface.py
+++ b/xmlutils/interface.py
@@ -18,7 +18,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import lxml.etree as ET
-from distutils.version import LooseVersion
from lxml.builder import E
from wok.plugins.kimchi import osinfo
@@ -62,12 +61,4 @@ def get_iface_xml(params, arch=None, os_distro=None,
os_version=None):
if mac is not None:
interface.append(E.mac(address=mac))
- # Hack to disable vhost feature in Ubuntu LE and SLES LE (PPC)
- if arch == 'ppc64' and \
- ((os_distro == 'ubuntu' and
- LooseVersion(os_version) >= LooseVersion('14.04')) or
- (os_distro == 'sles' and
- LooseVersion(os_version) >= LooseVersion('12'))):
- interface.append(E.driver(name='qemu'))
-
return ET.tostring(interface, encoding='utf-8', pretty_print=True)