mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: rename method for getting preferred machine type
The virQEMUCapsGetDefaultMachine() method doesn't get QEMU's default machine any more, instead it gets the historical default that libvirt prefers for each arch. Rename it, so that the old name can be used for getting QEMU's default. Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -168,7 +168,7 @@ fillQemuCaps(virDomainCapsPtr domCaps,
|
||||
|
||||
if (!domCaps->machine &&
|
||||
VIR_STRDUP(domCaps->machine,
|
||||
virQEMUCapsGetDefaultMachine(qemuCaps)) < 0)
|
||||
virQEMUCapsGetPreferredMachine(qemuCaps)) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (virQEMUCapsFillDomainCaps(caps, domCaps, qemuCaps,
|
||||
|
||||
Reference in New Issue
Block a user