[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [XEN PATCH v3] x86/vm_event: add short-circuit for breakpoints (aka, , "fast single step")



On 18.12.2019 15:48, Jan Beulich wrote:
> On 18.12.2019 13:19, Sergey Kovalev wrote:
>> --- a/xen/arch/x86/vm_event.c
>> +++ b/xen/arch/x86/vm_event.c
>> @@ -61,7 +61,8 @@ void vm_event_cleanup_domain(struct domain *d)
>>  void vm_event_toggle_singlestep(struct domain *d, struct vcpu *v,
>>                                  vm_event_response_t *rsp)
>>  {
>> -    if ( !(rsp->flags & VM_EVENT_FLAG_TOGGLE_SINGLESTEP) )
>> +    if ( !(rsp->flags & VM_EVENT_FLAG_TOGGLE_SINGLESTEP ||
>> +           rsp->flags & VM_EVENT_FLAG_FAST_SINGLESTEP) )
>>          return;
> 
> This is still the same as in v2 (could be taken care of while
> committing if no other need for a v4 arises).
Sorry for that. I didn't stage it...

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.