Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-25 Thread Jan Beulich
>>> On 24.02.15 at 18:14, wrote: > Since this is not an architecture feature and I do not expect any real > CPUs to support this, I do not expect any other use. But I am happy > to make it more generic. Let's see how this ends up looking - the hook is probably indeed bogus (from an architectural

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-24 Thread Don Slutz
On 02/24/15 03:34, Jan Beulich wrote: On 23.02.15 at 18:11, wrote: >> On 02/23/15 10:12, Jan Beulich wrote: >> On 17.02.15 at 00:05, wrote: @@ -393,6 +393,11 @@ struct x86_emulate_ops enum x86_segment seg, unsigned long offset, struct x86_em

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-23 Thread Jan Beulich
>>> On 17.02.15 at 00:05, wrote: > Enable no-fault of pio in x86_emulate for VMware port ??? > @@ -393,6 +393,11 @@ struct x86_emulate_ops > enum x86_segment seg, > unsigned long offset, > struct x86_emulate_ctxt *ctxt); > + > +/* vmport_check */ > +int (*vmpor

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-21 Thread Don Slutz
On 02/21/15 10:40, Andrew Cooper wrote: > On 21/02/15 13:36, Don Slutz wrote: >> On 02/18/15 13:19, Andrew Cooper wrote: >>> On 18/02/15 17:03, Don Slutz wrote: On 02/17/15 09:38, Andrew Cooper wrote: > On 16/02/15 23:05, Don Slutz wrote: >> Summary is that VMware treats "in (%dx),%eax

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-21 Thread Andrew Cooper
On 21/02/15 13:36, Don Slutz wrote: > On 02/18/15 13:19, Andrew Cooper wrote: >> On 18/02/15 17:03, Don Slutz wrote: >>> On 02/17/15 09:38, Andrew Cooper wrote: On 16/02/15 23:05, Don Slutz wrote: > Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") > to port 0x5658 sp

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-21 Thread Don Slutz
On 02/18/15 13:19, Andrew Cooper wrote: > On 18/02/15 17:03, Don Slutz wrote: >> On 02/17/15 09:38, Andrew Cooper wrote: >>> On 16/02/15 23:05, Don Slutz wrote: Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") to port 0x5658 specially. Note: since many operations retur

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-18 Thread Andrew Cooper
On 18/02/15 17:03, Don Slutz wrote: > On 02/17/15 09:38, Andrew Cooper wrote: >> On 16/02/15 23:05, Don Slutz wrote: >>> Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") >>> to port 0x5658 specially. Note: since many operations return data >>> in EAX, "in (%dx),%eax" is the one

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-18 Thread Don Slutz
On 02/17/15 09:38, Andrew Cooper wrote: On 16/02/15 23:05, Don Slutz wrote: Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") to port 0x5658 specially. Note: since many operations return data in EAX, "in (%dx),%eax" is the one to use. The other lengths like "in (%dx),%al" wil

Re: [Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-17 Thread Andrew Cooper
On 16/02/15 23:05, Don Slutz wrote: > Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") > to port 0x5658 specially. Note: since many operations return data > in EAX, "in (%dx),%eax" is the one to use. The other lengths like > "in (%dx),%al" will still do things, only AL part of

[Xen-devel] [PATCH v9 06/13] xen: Add ring 3 vmware_port support

2015-02-16 Thread Don Slutz
Summary is that VMware treats "in (%dx),%eax" (or "out %eax,(%dx)") to port 0x5658 specially. Note: since many operations return data in EAX, "in (%dx),%eax" is the one to use. The other lengths like "in (%dx),%al" will still do things, only AL part of EAX will be changed. For "out %eax,(%dx)" o