mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: check the kvm host cpu max limits in virConnectGetDomainCapabilities
The qemu limit and host limit both should be considered for the domain vcpu max limits. Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
This commit is contained in:
committed by
Andrea Bolognani
parent
c6910bd4c7
commit
8dbb347816
@@ -129,7 +129,8 @@ fillQemuCaps(virDomainCapsPtr domCaps,
|
||||
|
||||
if (virQEMUCapsFillDomainCaps(domCaps, qemuCaps,
|
||||
cfg->firmwares,
|
||||
cfg->nfirmwares) < 0)
|
||||
cfg->nfirmwares,
|
||||
VIR_DOMAIN_VIRT_QEMU) < 0)
|
||||
goto cleanup;
|
||||
|
||||
/* The function above tries to query host's KVM & VFIO capabilities by
|
||||
|
||||
Reference in New Issue
Block a user