projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e77816
)
KVM: VMX: allow rmode_tss_base() to work with >2G of guest memory
author
Izik Eidus
<izike@qumranet.com>
Sun, 19 Aug 2007 19:24:58 +0000
(22:24 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Sat, 13 Oct 2007 08:18:24 +0000
(10:18 +0200)
Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/vmx.c
b/drivers/kvm/vmx.c
index cd999c0a24c4c79cf95e8f45ebc571881024951d..b40066854c143f391663ef32e0e4a7d00979c00d 100644
(file)
--- a/
drivers/kvm/vmx.c
+++ b/
drivers/kvm/vmx.c
@@
-1030,7
+1030,7
@@
static void enter_pmode(struct kvm_vcpu *vcpu)
vmcs_write32(GUEST_CS_AR_BYTES, 0x9b);
}
-static
in
t rmode_tss_base(struct kvm* kvm)
+static
gva_
t rmode_tss_base(struct kvm* kvm)
{
gfn_t base_gfn = kvm->memslots[0].base_gfn + kvm->memslots[0].npages - 3;
return base_gfn << PAGE_SHIFT;