mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
Fix formatting of machine types in capabilities XML
* src/capabilities.c: fix machine type formatting in virCapabilitiesFormatXML()
This commit is contained in:
parent
110abb0343
commit
3fa4a82e6f
@ -713,7 +713,7 @@ virCapabilitiesFormatXML(virCapsPtr caps)
|
||||
|
||||
for (k = 0 ; k < caps->guests[i]->arch.domains[j]->info.nmachines ; k++) {
|
||||
virCapsGuestMachinePtr machine = caps->guests[i]->arch.domains[j]->info.machines[k];
|
||||
virBufferAddLit(&xml, " <machine");
|
||||
virBufferAddLit(&xml, " <machine");
|
||||
if (machine->canonical)
|
||||
virBufferVSprintf(&xml, " canonical='%s'", machine->canonical);
|
||||
virBufferVSprintf(&xml, ">%s</machine>\n", machine->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user