[EMAIL PROTECTED] wrote:
Good moorning, I changed the -boot option in 'c' but when my Windows Xp boot
to complete the installation I got the following errors:
unhandled vm exit: 0x80000022
rax 0000000000000800 rbx 00000000ffdff120 rcx 00000000c0000080 rdx
0000000000000000
rsi 0000000000000000 rdi 00000000c0000080 rsp 0000000080548de8 rbp
0000000080548e3c
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
0000000000000000
rip 00000000804fee82 rflags 00000006
A laptop came back from service yesterday and started exhibiting the
same problem. Turns out some Intel processors don't support the nx
feature, which qemu reports as present.
I committed the attached patch to kvm/qemu. It should fix the problem.
--
error compiling committee.c: too many arguments to function
Index: trunk/qemu/qemu-kvm.c
===================================================================
--- trunk/qemu/qemu-kvm.c (revision 4183)
+++ trunk/qemu/qemu-kvm.c (revision 4184)
@@ -440,7 +440,7 @@
*rcx = env->regs[R_ECX];
*rbx = env->regs[R_EBX];
*rax = env->regs[R_EAX];
- // don't report long mode/syscall if no native support
+ // don't report long mode/syscall/nx if no native support
if (eax == 0x80000001) {
unsigned long h_eax = eax, h_edx;
@@ -460,6 +460,9 @@
// syscall
if ((h_edx & 0x00000800) == 0)
*rdx &= ~0x00000800ull;
+ // nx
+ if ((h_edx & 0x00100000) == 0)
+ *rdx &= ~0x00100000ull;
}
env = saved_env;
return 0;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel