mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
qemu: Introduce virQEMUCapsUpdateHostCPUModel
Function will be used by next patch. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
47c3986d8d
commit
903c4d0a53
@ -3819,6 +3819,15 @@ virQEMUCapsInitHostCPUModel(virQEMUCaps *qemuCaps,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
virQEMUCapsUpdateHostCPUModel(virQEMUCaps *qemuCaps,
|
||||||
|
virArch hostArch,
|
||||||
|
virDomainVirtType type)
|
||||||
|
{
|
||||||
|
virQEMUCapsHostCPUDataClear(&virQEMUCapsGetAccel(qemuCaps, type)->hostCPU);
|
||||||
|
virQEMUCapsInitHostCPUModel(qemuCaps, hostArch, type);
|
||||||
|
}
|
||||||
|
|
||||||
qemuMonitorCPUModelInfo *
|
qemuMonitorCPUModelInfo *
|
||||||
virQEMUCapsGetCPUModelInfo(virQEMUCaps *qemuCaps,
|
virQEMUCapsGetCPUModelInfo(virQEMUCaps *qemuCaps,
|
||||||
virDomainVirtType type)
|
virDomainVirtType type)
|
||||||
|
@ -60,6 +60,10 @@ virQEMUCapsInitHostCPUModel(virQEMUCaps *qemuCaps,
|
|||||||
virArch hostArch,
|
virArch hostArch,
|
||||||
virDomainVirtType type);
|
virDomainVirtType type);
|
||||||
|
|
||||||
|
void
|
||||||
|
virQEMUCapsUpdateHostCPUModel(virQEMUCaps *qemuCaps,
|
||||||
|
virArch hostArch,
|
||||||
|
virDomainVirtType type);
|
||||||
int
|
int
|
||||||
virQEMUCapsInitCPUModel(virQEMUCaps *qemuCaps,
|
virQEMUCapsInitCPUModel(virQEMUCaps *qemuCaps,
|
||||||
virDomainVirtType type,
|
virDomainVirtType type,
|
||||||
|
Loading…
Reference in New Issue
Block a user