Re: [Xen-devel] [PATCH v3] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-03 Thread Jan Beulich
>>> Alexandru Isaila 08/03/17 5:29 PM >>> >--- a/xen/arch/x86/hvm/hypercall.c >+++ b/xen/arch/x86/hvm/hypercall.c >@@ -152,9 +152,17 @@ int hvm_hypercall(struct cpu_user_regs *regs) >{ >case 8: >eax = regs->rax; >+if ( currd->monitor.guest_request_userspace_vmcall && >+ eax ==

Re: [Xen-devel] [PATCH v3] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-03 Thread Andrew Cooper
On 03/08/17 16:29, Alexandru Isaila wrote: > Allow guest userspace code to request that a vm_event be sent out > via VMCALL. This functionality seems to be handy for a number of > Xen developers, as stated on the mailing list (thread "[Xen-devel] > HVMOP_guest_request_vm_event only works from guest

[Xen-devel] [PATCH v3] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-03 Thread Alexandru Isaila
Allow guest userspace code to request that a vm_event be sent out via VMCALL. This functionality seems to be handy for a number of Xen developers, as stated on the mailing list (thread "[Xen-devel] HVMOP_guest_request_vm_event only works from guest in ring0"). This is a use case in communication be