|
Re: Windows XP internal Power error: msg#00231emulators.kvm.devel
ignazio.cassano@xxxxxxxxxxxxxxxxxxx wrote: Good moorning, I changed the -boot option in 'c' but when my Windows Xp boot 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@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/kvm-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Exception 13 problem: 00231, Jun Koi |
|---|---|
| Next by Date: | Re: Multiple guest question: 00231, Dor Laor |
| Previous by Thread: | Re: Windows XP internal Power errori: 00231, Avi Kivity |
| Next by Thread: | Re: Windows XP internal Power error: 00231, ignazio . cassano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |