diff mbox

update KVM_SAVE_MSRS_BEGIN to correct value

Message ID 20120801140142.GD27579@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gleb Natapov Aug. 1, 2012, 2:01 p.m. UTC
When MSR_KVM_PV_EOI_EN was added to msrs_to_save array
KVM_SAVE_MSRS_BEGIN was not updated accordingly.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Marcelo Tosatti Aug. 3, 2012, 6:08 p.m. UTC | #1
On Wed, Aug 01, 2012 at 05:01:42PM +0300, Gleb Natapov wrote:
> When MSR_KVM_PV_EOI_EN was added to msrs_to_save array
> KVM_SAVE_MSRS_BEGIN was not updated accordingly.
> 
> Signed-off-by: Gleb Natapov <gleb@redhat.com>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Avi Kivity Aug. 5, 2012, 9:47 a.m. UTC | #2
On 08/03/2012 09:08 PM, Marcelo Tosatti wrote:
> On Wed, Aug 01, 2012 at 05:01:42PM +0300, Gleb Natapov wrote:
>> When MSR_KVM_PV_EOI_EN was added to msrs_to_save array
>> KVM_SAVE_MSRS_BEGIN was not updated accordingly.
>> 
>> Signed-off-by: Gleb Natapov <gleb@redhat.com>
> 
> Applied, thanks.

This should go into 3.6-rc, no?
Gleb Natapov Aug. 5, 2012, 9:51 a.m. UTC | #3
On Sun, Aug 05, 2012 at 12:47:42PM +0300, Avi Kivity wrote:
> On 08/03/2012 09:08 PM, Marcelo Tosatti wrote:
> > On Wed, Aug 01, 2012 at 05:01:42PM +0300, Gleb Natapov wrote:
> >> When MSR_KVM_PV_EOI_EN was added to msrs_to_save array
> >> KVM_SAVE_MSRS_BEGIN was not updated accordingly.
> >> 
> >> Signed-off-by: Gleb Natapov <gleb@redhat.com>
> > 
> > Applied, thanks.
> 
> This should go into 3.6-rc, no?
If we want migration to work there then yes.

--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 41c0c3d..2452438 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -806,7 +806,7 @@  EXPORT_SYMBOL_GPL(kvm_rdpmc);
  * kvm-specific. Those are put in the beginning of the list.
  */
 
-#define KVM_SAVE_MSRS_BEGIN	9
+#define KVM_SAVE_MSRS_BEGIN	10
 static u32 msrs_to_save[] = {
 	MSR_KVM_SYSTEM_TIME, MSR_KVM_WALL_CLOCK,
 	MSR_KVM_SYSTEM_TIME_NEW, MSR_KVM_WALL_CLOCK_NEW,