[libvirt] [PATCH v6 08/13] qemu: Add zPCI address definition check

Yi Min Zhao zyimin at linux.ibm.com
Mon Oct 15 07:42:24 UTC 2018



在 2018/10/15 下午2:59, Andrea Bolognani 写道:
> On Mon, 2018-10-15 at 09:31 +0800, Yi Min Zhao wrote:
>> 在 2018/10/11 下午9:08, Andrea Bolognani 写道:
>>> Forgot to mention: it would be really nice if you added a negative
>>> test case showing that using zPCI addresses on eg. x86 will result
>>> in a validation error.
>> OK. Let me have a try. Haven't added this kind of test before.
> It's very easy: just use DO_TEST_PARSE_ERROR() or DO_TEST_FAILURE()
> instead of DO_TEST() :)
>
Yes, I have found sample code. Thanks!

-- 
Yi Min




More information about the libvir-list mailing list