Re: [Xen-devel] VM-exit instruction length and #GP fault on IN.

2015-01-27 Thread Jan Beulich
>>> On 27.01.15 at 06:48, wrote: >> From: Don Slutz [mailto:dsl...@verizon.com] >> Sent: Tuesday, January 27, 2015 4:31 AM >> >> The question is about the VM-exit instruction length field. >> >> This is accessed in xen via: >> >>__vmread(VM_EXIT_INSTRUCTION_LEN, &inst_len); >> >> an examp

Re: [Xen-devel] VM-exit instruction length and #GP fault on IN.

2015-01-26 Thread Tian, Kevin
> From: Don Slutz [mailto:dsl...@verizon.com] > Sent: Tuesday, January 27, 2015 4:31 AM > > The question is about the VM-exit instruction length field. > > This is accessed in xen via: > >__vmread(VM_EXIT_INSTRUCTION_LEN, &inst_len); > > an example of which is in routine get_instruction_len

[Xen-devel] VM-exit instruction length and #GP fault on IN.

2015-01-26 Thread Don Slutz
The question is about the VM-exit instruction length field. This is accessed in xen via: __vmread(VM_EXIT_INSTRUCTION_LEN, &inst_len); an example of which is in routine get_instruction_length(). Is it architecturally defined that #GP intercept vmexits on IN and OUT actually set this field?