]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Load bzImage real-mode boot sector and setup code
authorPekka Enberg <penberg@cs.helsinki.fi>
Sat, 27 Mar 2010 07:34:00 +0000 (09:34 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sat, 27 Mar 2010 07:34:00 +0000 (09:34 +0200)
commitb866d32b4e82cb5bb50abf13476faf129583488c
treef41336dbe21d35191005f6f6582f8011d5670c2f
parent67ea5d69397611a007a8c9f303ce809bb979c87f
kvm: Load bzImage real-mode boot sector and setup code

We start KVM in 16-bit mode so we should set cs:ip to point to the real-mode
boot sector and setup code, not the protected mode kernel that starts at 1M.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm.c
tools/kvm/main.c