mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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 *
|
||||
virQEMUCapsGetCPUModelInfo(virQEMUCaps *qemuCaps,
|
||||
virDomainVirtType type)
|
||||
|
@ -60,6 +60,10 @@ virQEMUCapsInitHostCPUModel(virQEMUCaps *qemuCaps,
|
||||
virArch hostArch,
|
||||
virDomainVirtType type);
|
||||
|
||||
void
|
||||
virQEMUCapsUpdateHostCPUModel(virQEMUCaps *qemuCaps,
|
||||
virArch hostArch,
|
||||
virDomainVirtType type);
|
||||
int
|
||||
virQEMUCapsInitCPUModel(virQEMUCaps *qemuCaps,
|
||||
virDomainVirtType type,
|
||||
|
Loading…
Reference in New Issue
Block a user