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 :|