Remove ethtool from rtl8139 variant
PATCH 1/1 Remove ethtool from rtl8139 variant
As the original patch set don't define supported_features for it.
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>
--- client/tests/kvm/tests/ethtool.py | 6 +++++- client/tests/kvm/tests_base.cfg.sample | 1 + 2 files changed, 6 insertions(+), 1 deletions(-)
client/tests/kvm/tests/ethtool.py +5 -1
@@ -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, (), ()),
client/tests/kvm/tests_base.cfg.sample +1 -0
@@ -903,6 +903,7 @@ variants: variants: - @rtl8139: nic_model = rtl8139 + no ethtool jumbo: mtu = 1500 - e1000:
Signature · 1 line
1.7.4
Quoted 4 lines · Lucas Meneghel Rodrigues
As the original patch set don't define
supported_featuresfor it.Signed-off-by Lucas Meneghel Rodrigues <[email protected]>
Acked-by Amos Kong <[email protected]>
Quoted 41 lines
--- client/tests/kvm/tests/ethtool.py | 6 +++++- client/tests/kvm/tests_base.cfg.sample | 1 + 2 files changed, 6 insertions(+), 1 deletions(-)client/tests/kvm/tests/ethtool.py +5
-1@@ -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, (), ()),client/tests/kvm/tests_base.cfg.sample +1
-0@@ -903,6 +903,7 @@ variants: variants: - @rtl8139: nic_model = rtl8139 + no ethtool jumbo: mtu = 1500 - e1000:Signature · 6 lines
1.7.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html