Skip to content

Commit 84b81a4

Browse files
authored
Merge pull request #433 from xcp-ng/gln/xen-hvm-fep-fix-vtnv
2 parents fbc327d + bac2681 commit 84b81a4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/xen/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
@pytest.fixture(scope="package")
1111
def host_with_hvm_fep(host):
1212
logging.info("Checking for HVM FEP support")
13-
if 'hvm_fep' not in host.ssh(['xl', 'info', 'xen_commandline']).split():
13+
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:
1415
pytest.fail("HVM FEP is required for some of the XTF tests")
1516
yield host
1617

0 commit comments

Comments
 (0)