mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add formal internal capabilities API and update drivers to use it
This commit is contained in:
@@ -88,6 +88,9 @@ main(int argc, char **argv)
|
||||
if (!abs_top_srcdir)
|
||||
return 1;
|
||||
|
||||
|
||||
driver.caps = qemudCapsInit();
|
||||
|
||||
if (virtTestRun("QEMU XML-2-ARGV minimal",
|
||||
1, testCompareXMLToXMLHelper, "minimal") < 0)
|
||||
ret = -1;
|
||||
@@ -152,6 +155,7 @@ main(int argc, char **argv)
|
||||
1, testCompareXMLToXMLHelper, "net-user") < 0)
|
||||
ret = -1;
|
||||
|
||||
virCapabilitiesFree(driver.caps);
|
||||
|
||||
exit(ret==0 ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user