kvm-hint-dedicated requires host CPU passthrough?

Paolo Bonzini pbonzini at redhat.com
Wed May 20 17:23:32 UTC 2020


On 20/05/20 19:13, Stefan Hajnoczi wrote:
> Hi,
> libvirt refuses to set KVM_HINTS_DEDICATED when the CPU model is not
> host-passthrough.
> 
> Is there a reason for this limitation?
> 
> My understanding is that KVM_HINTS_DEDICATED means the vCPU is pinned to
> a host CPU that is not shared with other tasks. Any KVM vCPU should be
> able to support this feature, regardless of whether host-passthrough is
> used or not.

Perhaps it's because KVM_HINTS_DEDICATED enables mwait passthrough, and
the details of mwait vary per CPU model?

Paolo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200520/5dca74c8/attachment-0001.sig>


More information about the libvir-list mailing list