mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
caps: Convert to use VIR_DOMAIN_VIRT internally
This commit is contained in:
@@ -940,7 +940,7 @@ virCapsPtr virTestGenericCapsInit(void)
|
||||
0, NULL)) == NULL)
|
||||
goto error;
|
||||
|
||||
if (!virCapabilitiesAddGuestDomain(guest, "test", NULL, NULL, 0, NULL))
|
||||
if (!virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_TEST, NULL, NULL, 0, NULL))
|
||||
goto error;
|
||||
|
||||
|
||||
@@ -949,7 +949,7 @@ virCapsPtr virTestGenericCapsInit(void)
|
||||
0, NULL)) == NULL)
|
||||
goto error;
|
||||
|
||||
if (!virCapabilitiesAddGuestDomain(guest, "test", NULL, NULL, 0, NULL))
|
||||
if (!virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_TEST, NULL, NULL, 0, NULL))
|
||||
goto error;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user