All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Xuekun Hu <xuekun.hu@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Does KVM support Intel FlexMigration feature?
Date: Tue, 03 Dec 2013 13:55:11 +0100	[thread overview]
Message-ID: <529DD4AF.9070209@redhat.com> (raw)
In-Reply-To: <CACLBhCR5qEqXD55o4FT7UY0U=_xcvXG2xA=CsZvJH0QqrB1bGg@mail.gmail.com>

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

      reply	other threads:[~2013-12-03 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03  5:50 Does KVM support Intel FlexMigration feature? Xuekun Hu
2013-12-03 12:55 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529DD4AF.9070209@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=xuekun.hu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.