mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: capabilities: Drop unused function virQEMUCapsGetMachineTypes
This commit is contained in:
parent
068fde5fcf
commit
d2d5a91126
@ -2240,14 +2240,6 @@ size_t virQEMUCapsGetCPUDefinitions(virQEMUCapsPtr qemuCaps,
|
||||
}
|
||||
|
||||
|
||||
size_t virQEMUCapsGetMachineTypes(virQEMUCapsPtr qemuCaps,
|
||||
char ***names)
|
||||
{
|
||||
if (names)
|
||||
*names = qemuCaps->machineTypes;
|
||||
return qemuCaps->nmachineTypes;
|
||||
}
|
||||
|
||||
int virQEMUCapsGetMachineTypesCaps(virQEMUCapsPtr qemuCaps,
|
||||
size_t *nmachines,
|
||||
virCapsGuestMachinePtr **machines)
|
||||
|
@ -419,8 +419,6 @@ int virQEMUCapsAddCPUDefinition(virQEMUCapsPtr qemuCaps,
|
||||
const char *name);
|
||||
size_t virQEMUCapsGetCPUDefinitions(virQEMUCapsPtr qemuCaps,
|
||||
char ***names);
|
||||
size_t virQEMUCapsGetMachineTypes(virQEMUCapsPtr qemuCaps,
|
||||
char ***names);
|
||||
const char *virQEMUCapsGetCanonicalMachine(virQEMUCapsPtr qemuCaps,
|
||||
const char *name);
|
||||
int virQEMUCapsGetMachineMaxCpus(virQEMUCapsPtr qemuCaps,
|
||||
|
Loading…
Reference in New Issue
Block a user