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

Re: [Xen-devel] Hypercalls from user-space


  • To: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Tue, 05 Oct 2010 23:09:42 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 05 Oct 2010 15:10:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=w1+hPg4wTsqe3XHmzmoiwPJz9ZF563YHjdp1b8iHy4GfdesXmjXpz1ROAQJl34LL0w iJl5E4q7GUl5M5hUwn/pnyw1shbStKUUUlRCXDMw4VSbwEUdlWm2sXkP9mubx2MN9izz jxKoYdiC08IOB+eBCgxZnWXbaF/QUlvPY2uMQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Actk2gKh5sKOHtZjEUm+XDU0Xx1vIw==
  • Thread-topic: [Xen-devel] Hypercalls from user-space

/proc/xen/privcmd should be available in domU as well. You might need to
enable some dom0 build config options to get it though.

 -- Keir

On 05/10/2010 22:31, "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx> wrote:

> Hi Jeremy,
> 
> I am able to do hypercalls in privileged domain. i want to invoke hypercalls
> (to send EVENT notifications) from DomU.
> Amy pointers for the same would be appreciated.
> 
> --
> Srujan D. Kotikela
> 
> 
> On Fri, Sep 24, 2010 at 2:14 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>>  On 09/24/2010 11:38 AM, Srujan D. Kotikela wrote:
>>> Hi,
>>> 
>>> Can anyone tell me how to invoke hypercalls from user space? Or any
>>> pointers for the same.
>>> 
>>> It's urgent, please help.
>>> 
>> 
>> You can't directly invoke hypercalls from userspace.   In a privileged
>> domain you can use ioctls on /proc/xen/privcmd.
>> 
>>     J
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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