diff options
author | Matias Zabaljauregui <zabaljauregui@gmail.com> | 2009-03-14 13:37:52 -0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 21:55:24 +1030 |
commit | 4cd8b5e2a159f18a1507f1187b44a1acbfa6341b (patch) | |
tree | 8a774c377e2c798e119af4b3664453c6f0d1d94d /arch/x86/lguest/i386_head.S | |
parent | b7ff99ea53cd16de8f6166c0e98f19a7c6ca67ee (diff) |
lguest: use KVM hypercalls
Impact: cleanup
This patch allow us to use KVM hypercalls
Signed-off-by: Matias Zabaljauregui <zabaljauregui at gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/lguest/i386_head.S')
-rw-r--r-- | arch/x86/lguest/i386_head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lguest/i386_head.S b/arch/x86/lguest/i386_head.S index 10b9bd35a8ff..f79541989471 100644 --- a/arch/x86/lguest/i386_head.S +++ b/arch/x86/lguest/i386_head.S @@ -27,8 +27,8 @@ ENTRY(lguest_entry) /* We make the "initialization" hypercall now to tell the Host about * us, and also find out where it put our page tables. */ movl $LHCALL_LGUEST_INIT, %eax - movl $lguest_data - __PAGE_OFFSET, %edx - int $LGUEST_TRAP_ENTRY + movl $lguest_data - __PAGE_OFFSET, %ebx + .byte 0x0f,0x01,0xc1 /* KVM_HYPERCALL */ /* Set up the initial stack so we can run C code. */ movl $(init_thread_union+THREAD_SIZE),%esp |