Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
Avi Kivity a...@redhat.com writes: - run a cygwin program in an infinite loop (while :; do :; done is sufficient) - 'info registers', look at gdt - 'x/28x 0x$GDT' I'm interested in offset 0x28, but please provide the whole thing for sanity checking. Here it is. This is with npt=1, but

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
. Regards, Matteo Frigo -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
on Intel with this patch. Regards, Matteo Frigo -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
Avi Kivity a...@redhat.com writes: Can you run the slightly modified gs.c (attached) and rerun on AMD? The is to see if the runtime somehow restores gs. Crashes as follows: w2k3-64:~$ ./a.exe gs: 2b gs:0x30: 7efdb000 Segmentation fault (core dumped) -- To unsubscribe from this list: send the

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
Matteo Frigo ath...@fftw.org writes: Avi Kivity a...@redhat.com writes: Can you run the slightly modified gs.c (attached) and rerun on AMD? The is to see if the runtime somehow restores gs. Crashes as follows: w2k3-64:~$ ./a.exe gs: 2b gs:0x30: 7efdb000 Segmentation fault (core dumped

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-13 Thread Matteo Frigo
Avi Kivity a...@redhat.com writes: + vmx_load_host_state(vcpu); Works here as well (on intel). (On kvm-83, gcc complains about passing argument 1 of 'vmx_load_host_state' from incompatible pointer type.) Thanks for the terrific support. kvm rocks! Regards, Matteo Frigo

Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM

2009-02-05 Thread Matteo Frigo
the instruction, the program crashes. However, if I step over the instruction using the vs2008 debugger, the program completes without crashing. Thus, I think that this is the instruction that Avi is looking for, but I don't know how to proceed from here. Hope this helps. Cheers, Matteo Frigo