public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Does KVM support Intel FlexMigration feature?
@ 2013-12-03  5:50 Xuekun Hu
  2013-12-03 12:55 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Xuekun Hu @ 2013-12-03  5:50 UTC (permalink / raw)
  To: kvm

Hi, All

Does KVM support Intel FlexMigration feature? If yes, is there a doc
to describe how to do use it (set cpu features mask)?
Many thanks.

Thx, Xuekun

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does KVM support Intel FlexMigration feature?
  2013-12-03  5:50 Does KVM support Intel FlexMigration feature? Xuekun Hu
@ 2013-12-03 12:55 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2013-12-03 12:55 UTC (permalink / raw)
  To: Xuekun Hu; +Cc: kvm

Il 03/12/2013 06:50, Xuekun Hu ha scritto:
> Hi, All
> 
> Does KVM support Intel FlexMigration feature? If yes, is there a doc
> to describe how to do use it (set cpu features mask)?
> Many thanks.

KVM uses Intel's virtualization extensions (VT-x) for CPUID exits, and
not the masking/faulting MSRs.  CPUID support is controlled by userspace
(i.e. outside KVM), using the KVM_GET_SUPPORTED_CPUID and KVM_SET_CPUID2
ioctl.

The ioctls are documented in Documentation/virtual/kvm/api.txt.

The KVM_SET_CPUID2 ioctl is not documented but it is the same as
KVM_SET_CPUID, except that is uses "struct kvm_cpuid2" instead of
"struct kvm_cpuid".

Paolo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-03 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03  5:50 Does KVM support Intel FlexMigration feature? Xuekun Hu
2013-12-03 12:55 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox