On 5/11/22, 11:51 PM, "Peter Krempa" <pkrempa@redhat.com> wrote:

 

> On Tue, May 10, 2022 at 23:11:11 -0700, Lin Yang wrote:
> > diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c

> > index 58ee29cd33..51f805dcab 100644

> > --- a/tests/qemuxml2xmltest.c

> > +++ b/tests/qemuxml2xmltest.c

> > @@ -1468,6 +1468,8 @@ mymain(void)

> >                    QEMU_CAPS_DEVICE_VIRTIO_RNG,

> >                    QEMU_CAPS_OBJECT_RNG_RANDOM);

> >

> > +    DO_TEST_CAPS_LATEST("sgx-epc");

> > +

>

> Use DO_TEST_CAPS_VER with 6.2.0 similarly to how you did in the

> qemuxml2argvtest. This feature is host dependant and my host doesn't

> have it. Since I periodically re-generate the latest capabilities, the

> test would start failing.

 

Thanks for pointing out this. I will update it soon in next version patch.

 

Thanks,

Lin.