Waba wrote:
On Mon, Feb 12, 2007 at 11:48:49AM +0200, Avi Kivity wrote:
Let's look at the control registers at the time of the SIGILL. Can you
reproduce the error with the attached patch and send dmesg?
#ud: cr0 8005002b (8005003b) cr4 b8 (b8)
Qemu also aborted with "unhandled vm exit: 08" or similar, but I guess
that the important part is the printk.
Right.
bit 9 of cr4 (osfxsr) is clear, which according to the docs generates
#ud on any sse instruction.
can you try the attached test patch (can be on top of the last patch)?
--
error compiling committee.c: too many arguments to function
Index: svm.c
===================================================================
--- svm.c (revision 4418)
+++ svm.c (working copy)
@@ -555,7 +555,7 @@
* cache by default. the orderly way is to enable cache in bios.
*/
save->cr0 = 0x00000010 | CR0_PG_MASK | CR0_WP_MASK;
- save->cr4 = CR4_PAE_MASK;
+ save->cr4 = CR4_PAE_MASK | 0x200;
/* rdx = ?? */
}
@@ -741,7 +741,7 @@
static void svm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4)
{
vcpu->cr4 = cr4;
- vcpu->svm->vmcb->save.cr4 = cr4 | CR4_PAE_MASK;
+ vcpu->svm->vmcb->save.cr4 = cr4 | CR4_PAE_MASK | 0x200;
}
static void svm_set_segment(struct kvm_vcpu *vcpu,
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel