From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Liran Alon <liran.alon@oracle.com>
Cc: pbonzini@redhat.com, kvm@vger.kernel.org, idan.brown@oracle.com,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [PATCH] KVM: x86: Add emulation of MSR_SMI_COUNT
Date: Tue, 5 Dec 2017 22:09:18 +0100 [thread overview]
Message-ID: <20171205210918.GC20099@flask> (raw)
In-Reply-To: <1510746194-12291-1-git-send-email-liran.alon@oracle.com>
2017-11-15 13:43+0200, Liran Alon:
> This MSR returns the number of #SMIs that occurred on CPU since
> boot.
>
> It was seen to be used frequently by ESXi guest.
>
> Patch adds a new vcpu-arch specific var called smi_count to
> save the number of #SMIs which occurred on CPU since boot.
> It is exposed as a read-only MSR to guest (causing #GP
> on wrmsr) in RDMSR/WRMSR emulation code.
> MSR_SMI_COUNT is also added to emulated_msrs[] to make sure
> user-space can save/restore it for migration purposes.
>
> Signed-off-by: Liran Alon <liran.alon@oracle.com>
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
> Reviewed-by: Bhavesh Davda <bhavesh.davda@oracle.com>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> ---
Queued, thanks.
prev parent reply other threads:[~2017-12-05 21:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 11:43 [PATCH] KVM: x86: Add emulation of MSR_SMI_COUNT Liran Alon
2017-11-15 13:47 ` Paolo Bonzini
2017-12-04 9:27 ` David Hildenbrand
2017-12-04 9:31 ` Paolo Bonzini
2017-12-04 9:32 ` David Hildenbrand
2017-12-05 21:09 ` Radim Krčmář [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=20171205210918.GC20099@flask \
--to=rkrcmar@redhat.com \
--cc=idan.brown@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=kvm@vger.kernel.org \
--cc=liran.alon@oracle.com \
--cc=pbonzini@redhat.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.