Fixes issue #98
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Controller/Machine.py | 2 +-
lnst/Controller/VirtUtils.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index 9a5d243..409e61b 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -789,7 +789,7 @@ class VirtualInterface(Interface):
"""
def __init__(self, machine, if_id, if_type):
super(VirtualInterface, self).__init__(machine, if_id, if_type)
- self._driver = "rtl8139"
+ self._driver = "virtio"
def set_driver(self, driver):
self._driver = driver
diff --git a/lnst/Controller/VirtUtils.py b/lnst/Controller/VirtUtils.py
index f602c99..dd04781 100644
--- a/lnst/Controller/VirtUtils.py
+++ b/lnst/Controller/VirtUtils.py
@@ -88,7 +88,7 @@ class VirtDomainCtl:
def restart(self):
self._domain.reboot()
- def attach_interface(self, hw_addr, net_name, driver="rtl8139"):
+ def attach_interface(self, hw_addr, net_name, driver="virtio"):
try:
device_xml = self._net_device_template.format(hw_addr,
net_name,
--
1.9.3