Re: [PATCH] qemuxml2xmltest: Set dummy non-hypervisor drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 25, 2020 at 04:37:59PM +0200, Michal Privoznik wrote:
> When parsing domain XML post parse callbacks are run and one of
> them might try and call API from a non-hypervisor driver (e.g.
> just like qemuDomainDeviceNetDefPostParse() is doing - it calls a
> network API). To avoid this in the test suite, set dummy drivers,
> which renders all non-hypervisor APIs return error.
> 
> This mimics what qemuxml2argvtest does.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tests/qemuxml2xmltest.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>




Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux