Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-03 Thread Jan Beulich
>>> On 02.12.15 at 19:34, wrote: > On 02/12/15 18:21, Tamas K Lengyel wrote: >> Why would that vmread fail there and why would the call trace tell me >> it's in vmx_vmenter_helper? > > The symbol information is incorrect because of the bugframe being inside > an

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-02 Thread Andrew Cooper
On 02/12/15 18:21, Tamas K Lengyel wrote: > > > On Tue, Dec 1, 2015 at 5:40 AM, Andrew Cooper > > wrote: > > On 01/12/15 01:21, Tamas K Lengyel wrote: >> >> >> On Mon, Nov 30, 2015 at 7:01 PM, Razvan Cojocaru >>

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-02 Thread Andrew Cooper
On 02/12/15 18:38, Tamas K Lengyel wrote: > > > On Wed, Dec 2, 2015 at 1:34 PM, Andrew Cooper > > wrote: > > On 02/12/15 18:21, Tamas K Lengyel wrote: >> >> >> On Tue, Dec 1, 2015 at 5:40 AM, Andrew Cooper >>

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-02 Thread Tamas K Lengyel
On Tue, Dec 1, 2015 at 5:40 AM, Andrew Cooper wrote: > On 01/12/15 01:21, Tamas K Lengyel wrote: > > > > On Mon, Nov 30, 2015 at 7:01 PM, Razvan Cojocaru < > rcojoc...@bitdefender.com> wrote: > >> On 12/01/2015 01:32 AM, Tamas K Lengyel wrote: >> > Hi all, >> > I'm

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-02 Thread Tamas K Lengyel
On Wed, Dec 2, 2015 at 1:34 PM, Andrew Cooper wrote: > On 02/12/15 18:21, Tamas K Lengyel wrote: > > > > On Tue, Dec 1, 2015 at 5:40 AM, Andrew Cooper > wrote: > >> On 01/12/15 01:21, Tamas K Lengyel wrote: >> >> >> >> On Mon, Nov 30, 2015

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-01 Thread Andrew Cooper
On 01/12/15 01:21, Tamas K Lengyel wrote: > > > On Mon, Nov 30, 2015 at 7:01 PM, Razvan Cojocaru > > wrote: > > On 12/01/2015 01:32 AM, Tamas K Lengyel wrote: > > Hi all, > > I'm trying to extend the current vm_event system

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-01 Thread Andrew Cooper
On 01/12/15 10:40, Andrew Cooper wrote: > On 01/12/15 01:21, Tamas K Lengyel wrote: >> >> >> On Mon, Nov 30, 2015 at 7:01 PM, Razvan Cojocaru >> > wrote: >> >> On 12/01/2015 01:32 AM, Tamas K Lengyel wrote: >> > Hi all, >> >

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-12-01 Thread Jan Beulich
>>> On 01.12.15 at 11:51, wrote: > Jan: This is a good example of why unlikely regions should have > symbols. The stack trace from this bug is actively misleading because > the symbol information for %eip is wrong. And I didn't object to there being a single label put

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-11-30 Thread Tamas K Lengyel
On Mon, Nov 30, 2015 at 7:01 PM, Razvan Cojocaru wrote: > On 12/01/2015 01:32 AM, Tamas K Lengyel wrote: > > Hi all, > > I'm trying to extend the current vm_event system to be able to emulate > > over an in-guest breakpoint using the VM_EVENT_FLAG_SET_EMUL_READ_DATA >

[Xen-devel] Emulating in response of an int3 vm_event

2015-11-30 Thread Tamas K Lengyel
Hi all, I'm trying to extend the current vm_event system to be able to emulate over an in-guest breakpoint using the VM_EVENT_FLAG_SET_EMUL_READ_DATA feature. The idea is to have the vm_event listener send back the contents of the memory that was overwritten by the breakpoint instruction, have Xen

Re: [Xen-devel] Emulating in response of an int3 vm_event

2015-11-30 Thread Razvan Cojocaru
On 12/01/2015 01:32 AM, Tamas K Lengyel wrote: > Hi all, > I'm trying to extend the current vm_event system to be able to emulate > over an in-guest breakpoint using the VM_EVENT_FLAG_SET_EMUL_READ_DATA > feature. The idea is to have the vm_event listener send back the > contents of the memory