Re: [PATCH] KVM: x86: Add emulation of MSR_SMI_COUNT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Suggested-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Reviewed-by: Nikita Leshenko <nikita.leshchenko@xxxxxxxxxx>
> Reviewed-by: Bhavesh Davda <bhavesh.davda@xxxxxxxxxx>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> ---

Queued, thanks.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux