Re: [PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

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

 



On Wed, Feb 13, 2013 at 01:47:47PM +0200, Gleb Natapov wrote:
> On Wed, Feb 13, 2013 at 12:42:41PM +0100, Borislav Petkov wrote:
> > From: Borislav Petkov <bp@xxxxxxx>
> > 
> > The "x86, AMD: Enable WC+ memory type on family 10 processors" patch
> > currently in -tip added a workaround for AMD F10h CPUs which #GPs my
> > guest when booted in kvm. This is because it accesses MSR_AMD64_BU_CFG2
> > which is not currently ignored by kvm. Do that because this MSR is only
> > baremetal-relevant anyway. While at it, move the ignored MSRs at the
> > beginning of kvm_set_msr_common so that we exit then and there.
> > 
> Is your guest compiled without PV support? With PV Linux traps #GP for
> all MSRs and it saves us in more than one places.

Yes, CONFIG_PARAVIRT_GUEST is not set on the guest kernel.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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