From: Lucas Meneghel Rodrigues Subject: [PATCH] Remove ethtool from rtl8139 variant Date: Fri, 18 Feb 2011 17:14:09 -0200 Message-ID: <1298056449-27121-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org As the original patch set don't define supported_features for it. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests/ethtool.py | 6 +++++- client/tests/kvm/tests_base.cfg.sample | 1 + 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests/ethtool.py b/client/tests/kvm/tests/ethtool.py index 81e45d3..d7c6b57 100644 --- a/client/tests/kvm/tests/ethtool.py +++ b/client/tests/kvm/tests/ethtool.py @@ -191,7 +191,11 @@ def run_ethtool(test, params, env): filename = "/tmp/ethtool.dd" guest_ip = vm.get_address() ethname = kvm_test_utils.get_linux_ifname(session, vm.get_mac_address(0)) - supported_features = params.get("supported_features").split() + supported_features = params.get("supported_features") + if supported_features: + supported_features = supported_features.split() + else: + supported_features = [] test_matrix = { # type:(callback, (dependence), (exclude) "tx": (tx_callback, (), ()), diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 7eb3635..816a94f 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -903,6 +903,7 @@ variants: variants: - @rtl8139: nic_model = rtl8139 + no ethtool jumbo: mtu = 1500 - e1000: -- 1.7.4