Re: [Xen-devel] SSE instruction emulation issues

2015-07-16 Thread Fabio Fantoni
Il 15/07/2015 16:35, Wang, Zhi A ha scritto: You can put the MMIO emulation failed output message in the email like what I did, that will help to cook a patch for instruction emulator. Only gdb log is not enough as xen-developer has to know the exact opcode. I also found that not all forms of

Re: [Xen-devel] SSE instruction emulation issues

2015-07-16 Thread Wang, Zhi A
Hi Fantoni: If the emulation is successfully done without problem, maybe the instruction emulator in xen inject an incorrect fault into HVM, so that Xorg got killed. Can you also show the binary opcode with asm code? It looks only asm code in the gdb log. -Original Message- From: Fabio

Re: [Xen-devel] SSE instruction emulation issues

2015-07-16 Thread Fabio Fantoni
Il 16/07/2015 16:54, Wang, Zhi A ha scritto: Hi Fantoni: If the emulation is successfully done without problem, maybe the instruction emulator in xen inject an incorrect fault into HVM, so that Xorg got killed. Can you also show the binary opcode with asm code? It looks only asm code in the

Re: [Xen-devel] SSE instruction emulation issues

2015-07-15 Thread Razvan Cojocaru
On 07/15/2015 04:55 PM, Fabio Fantoni wrote: If you mean to look at the code involved, search the part about the problem, think how can go wrong or unexpected, add debug output if needed, try quick changes to it ecc... I can do it with simpler software and I did something similar with libxl

Re: [Xen-devel] SSE instruction emulation issues

2015-07-15 Thread Andrew Cooper
On 15/07/15 15:13, Paul Durrant wrote: -Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 15 July 2015 14:56 To: Jan Beulich Cc: Andrew Cooper; Paul Durrant; Zhi Wang; xen-devel Subject: Re: SSE instruction emulation issues Il 15/07/2015 13:35, Jan Beulich

Re: [Xen-devel] SSE instruction emulation issues

2015-07-15 Thread Wang, Zhi A
You can put the MMIO emulation failed output message in the email like what I did, that will help to cook a patch for instruction emulator. Only gdb log is not enough as xen-developer has to know the exact opcode. I also found that not all forms of one SSE instruction was supported, for example

Re: [Xen-devel] SSE instruction emulation issues

2015-07-15 Thread Paul Durrant
-Original Message- From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] Sent: 15 July 2015 14:56 To: Jan Beulich Cc: Andrew Cooper; Paul Durrant; Zhi Wang; xen-devel Subject: Re: SSE instruction emulation issues Il 15/07/2015 13:35, Jan Beulich ha scritto: On 15.07.15 at 13:13,

Re: [Xen-devel] SSE instruction emulation issues

2015-07-15 Thread Fabio Fantoni
Il 15/07/2015 13:35, Jan Beulich ha scritto: On 15.07.15 at 13:13, fabio.fant...@m2r.biz wrote: Il 10/07/2015 14:16, Jan Beulich ha scritto: On 10.07.15 at 14:00, andrew.coop...@citrix.com wrote: On 09/07/15 20:32, Zhi Wang wrote: We found that MOVD instruction are used by some windows

Re: [Xen-devel] SSE instruction emulation issues

2015-07-10 Thread Jan Beulich
On 10.07.15 at 14:00, andrew.coop...@citrix.com wrote: On 09/07/15 20:32, Zhi Wang wrote: We found that MOVD instruction are used by some windows driver during developing XenGT, and also we found this one: (XEN) MMIO emulation failed: d7v1 64bit @ 0010:f8000294e273 - 66 0f e7 00 48

[Xen-devel] SSE instruction emulation issues

2015-07-10 Thread Andrew Cooper
(breaking this thread away from the hijacked emulation cleanup and fixes thread) On 09/07/15 20:32, Zhi Wang wrote: Hi Gurus: We found that MOVD instruction are used by some windows driver during developing XenGT, and also we found this one: (XEN) MMIO emulation failed: d7v1 64bit @