Signed-off-by: Gleb Natapov <g...@redhat.com>
---
 lib/x86/desc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/x86/desc.c b/lib/x86/desc.c
index 1bd4421..11bd2a2 100644
--- a/lib/x86/desc.c
+++ b/lib/x86/desc.c
@@ -362,7 +362,7 @@ void setup_tss32(void)
                tss[i].cr3 = read_cr3();
                tss[i].ss0 = tss[i].ss1 = tss[i].ss2 = 0x10;
                tss[i].esp = tss[i].esp0 = tss[i].esp1 = tss[i].esp2 =
-                       (u32)tss_stack[i];
+                       (u32)tss_stack[i] + 4096;
                tss[i].cs = 0x08;
                tss[i].ds = tss[i].es = tss[i].fs = tss[i].gs = tss[i].ss = 
0x10;
                tss[i].iomap_base = (u16)desc_size;
-- 
1.7.2.3

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

Reply via email to