mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: pass default sec model in parser config
Instead of using the virCapsPtr to get the default security model, pass this in via the parser config. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -402,7 +402,7 @@ int qemuTestDriverInit(virQEMUDriver *driver)
|
||||
if (!driver->qemuCapsCache)
|
||||
goto error;
|
||||
|
||||
driver->xmlopt = virQEMUDriverCreateXMLConf(driver);
|
||||
driver->xmlopt = virQEMUDriverCreateXMLConf(driver, "none");
|
||||
if (!driver->xmlopt)
|
||||
goto error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user