We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fbc327d + bac2681 commit 84b81a4Copy full SHA for 84b81a4
1 file changed
tests/xen/conftest.py
@@ -10,7 +10,8 @@
10
@pytest.fixture(scope="package")
11
def host_with_hvm_fep(host):
12
logging.info("Checking for HVM FEP support")
13
- if 'hvm_fep' not in host.ssh(['xl', 'info', 'xen_commandline']).split():
+ xen_args = host.ssh(['xl', 'info', 'xen_commandline']).split()
14
+ if 'hvm_fep' not in xen_args and 'hvm_fep=1' not in xen_args:
15
pytest.fail("HVM FEP is required for some of the XTF tests")
16
yield host
17
0 commit comments