KVM: Use standard CR3 flags, tighten checking
commitf802a307cb2cabdd0c6b48067dbe901d6fe27246
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Jul 2007 13:32:55 +0000 (17 23:32 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:18 +0000 (13 10:18 +0200)
tree57c5faaada33142fff92be62a78555716feb597a
parent707d92fa72b425bc919a84670c01402e81505c58
KVM: Use standard CR3 flags, tighten checking

The kernel now has asm/cpu-features.h: use those macros instead of inventing
our own.

Also spell out definition of CR3_RESEVED_BITS, fix spelling and
tighten it for the non-PAE case.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/paging_tmpl.h