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

[Xen-devel] HVMOP_guest_request_vm_event only works from guest in ring0


  • To: Xen-devel@xxxxxxxxxxxxx
  • From: Bread Cutter <cutter409@xxxxxxxxx>
  • Date: Wed, 3 Aug 2016 16:37:31 -0400
  • Delivery-date: Wed, 03 Aug 2016 20:37:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello all,

I'm writing an executable that runs inside of a guest, and I planned
to use vmcall to talk to a tool running in Dom0, using the vm_event
API. It didn't work, and looking through the code, the first thing
hvm_do_hypercall() does is check if the guest is in ring0. If not, it
returns EPERM and exits.

In the case of HVMOP_guest_request_vm_event, I'd rather it be up to my
code if a call can be made from CPL>0. Is this done intentionally?

Thanks!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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