cpu_arm: Don't implement virCPUGetVendorForModel

This patch is effectively a no-op, but I wanted to initialize
.getVendorForModel explicitly as implementing this function does not
even make sense on ARM. The CPU models in our CPU map are only used for
describing host CPU in capabilities XML and cannot be used for guest CPU
definition in domain XML anyway. The CPU models listed as supported in
domain capabilities XML are just passed through from QEMU.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Jiri Denemark 2022-09-29 21:54:34 +02:00
parent e8efe42409
commit ed51d2b606

View File

@ -714,6 +714,7 @@ struct cpuArchDriver cpuDriverArm = {
#endif
.decode = NULL,
.encode = NULL,
.getVendorForModel = NULL,
.dataCopyNew = virCPUarmDataCopyNew,
.dataFree = virCPUarmDataFree,
.baseline = virCPUarmBaseline,