Re: [PATCH] fix checking of cr0 validity

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

 



On Thu, Jan 21, 2010 at 03:28:46PM +0200, Gleb Natapov wrote:
> Move to/from Control Registers chapter of Intel SDM says.  "Reserved bits
> in CR0 remain clear after any load of those registers; attempts to set
> them have no impact". Control Register chapter says "Bits 63:32 of CR0 are
> reserved and must be written with zeros. Writing a nonzero value to any
> of the upper 32 bits results in a general-protection exception, #GP(0)."
> 
> This patch tries to implement this twisted logic.
> 
> Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
> Reported-by: Lorenzo Martignoni <martignlo@xxxxxxxxx>

Applied, thanks. Changed "lu" to "UL".

Please use standard "KVM: .." subject lines.

--
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