mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: really remove last traces of Xenner support
We have twice previously attempted to remove Xenner support commitde9be0ab4dAuthor: Daniel P. Berrange <berrange@redhat.com> Date: Wed Aug 22 17:29:01 2012 +0100 Remove xenner support commit92572c3d71Author: Ján Tomko <jtomko@redhat.com> Date: Wed Feb 18 16:33:50 2015 +0100 Remove code handling the QEMU_CAPS_DOMID capability This change really does remove the last traces of it in the capabilities handling code Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -315,9 +315,6 @@ virCapsPtr testQemuCapsInit(void)
|
||||
virCapsGuestPtr guest;
|
||||
virCapsGuestMachinePtr *machines = NULL;
|
||||
int nmachines = 0;
|
||||
static const char *const xen_machines[] = {
|
||||
"xenner"
|
||||
};
|
||||
|
||||
if (!(caps = virCapabilitiesNew(VIR_ARCH_X86_64, false, false)))
|
||||
return NULL;
|
||||
@@ -400,16 +397,6 @@ virCapsPtr testQemuCapsInit(void)
|
||||
goto cleanup;
|
||||
machines = NULL;
|
||||
|
||||
nmachines = ARRAY_CARDINALITY(xen_machines);
|
||||
if ((machines = virCapabilitiesAllocMachines(xen_machines, nmachines)) == NULL)
|
||||
goto cleanup;
|
||||
|
||||
if ((guest = virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_XEN, VIR_ARCH_X86_64,
|
||||
"/usr/bin/xenner", NULL,
|
||||
nmachines, machines)) == NULL)
|
||||
goto cleanup;
|
||||
machines = NULL;
|
||||
|
||||
if (virCapabilitiesAddGuestDomain(guest,
|
||||
VIR_DOMAIN_VIRT_KVM,
|
||||
"/usr/bin/kvm",
|
||||
|
||||
Reference in New Issue
Block a user