qemu_vm: If QEMU doesn't know a given migration protocol, skip the test

When starting QEMU with an incoming migration protocol
it doesn't know about, a VMCreateError will be thrown.
We can do better in this case. Create a new exception
class that inherits from error.TestNAError, so the test
is skipped rather than errored or failed.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 af51574a
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册