It seems the RIP is caused by a bug in the recent kvm release. In this
case, kvm-72. I've put a fixed hardy kvm-72 in my PPA for anyone that
wants it.

It is documented with a work-around/fix at:

http://thread.gmane.org/gmane.comp.emulators.kvm.devel/20012/focus=20235

which is a simple patch to ensure 64-bit registers are saved for
SYSENTERs:

diff --git a/qemu/target-i386/cpu.h b/qemu/target-i386/cpu.h
index 7e95900..61c39d4 100644
--- a/qemu/target-i386/cpu.h
+++ b/qemu/target-i386/cpu.h
@@ -542,8 +542,8 @@ typedef struct CPUX86State {

     /* sysenter registers */
     uint32_t sysenter_cs;
-    uint32_t sysenter_esp;
-    uint32_t sysenter_eip;
+    uint64_t sysenter_esp;
+    uint64_t sysenter_eip;
     uint64_t efer;
     uint64_t star;


** Changed in: virt-manager (Ubuntu)
       Status: New => Invalid

-- 
Hardy installer in VM fails with fatal grub error
https://bugs.launchpad.net/bugs/256416
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to