[PULL 6/6] tests/functional/ppc: skip remote interrupts test if -net user not built
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
From: Shivang Upadhyay <[email protected]> While running remote interrupts test, without libslirp-devel installed, facing the following panic logs. File ... raise VMLaunchFailure( ...<3 lines>... ) from exc ... Output: qemu-system-ppc64: -netdev user,id=net0: network backend 'user' is not compiled into this binary Adding netdev user requirement for this test. Suggested-by: Amit Machhiwal <[email protected]> Reviewed-by: Amit Machhiwal <[email protected]> Suggested-by: Thomas Huth <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Fixes: 63f5ba80921 ("tests/functional: Add remote interrupts test for PowerNV") Signed-off-by: Shivang Upadhyay <[email protected]> Tested-by: Amit Machhiwal <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- tests/functional/ppc64/test_powernv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/ppc64/test_powernv.py b/tests/functional/ppc64/test_powernv.py index bac2017e18d..f3e05e4d381 100755 --- a/tests/functional/ppc64/test_powernv.py +++ b/tests/functional/ppc64/test_powernv.py @@ -90,6 +90,7 @@ def test_linux_smt_boot(self): def test_linux_remote_interrupts(self): self.require_accelerator("tcg") + self.require_netdev('user') self.set_machine('powernv') # Have below setup in this test: -- 2.53.0