[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] xen/vm_event: Support for guest-requested events
>>> On 06.05.15 at 19:12, <rcojocaru@xxxxxxxxxxxxxxx> wrote: > Added support for a new class of vm_events: VM_EVENT_REASON_REQUEST, Perhaps better VM_EVENT_REASON_GUEST_REQUEST? > --- a/xen/arch/x86/hvm/event.c > +++ b/xen/arch/x86/hvm/event.c > @@ -167,6 +167,20 @@ void hvm_event_xsetbv(unsigned long xcr, uint64_t value) > hvm_event_traps(currad->monitor.xsetbv_sync, &req); > } > > +void hvm_event_requested(void) > +{ > + struct vcpu *curr = current; > + struct arch_domain *currad = ¤t->domain->arch; So you latched current into curr and then use current again? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |