WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] PRIVCMD in HVM DomU

To: Srujan Kotikela <ksrujandas@xxxxxxxxx>
Subject: Re: [Xen-devel] PRIVCMD in HVM DomU
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 21 Jun 2011 15:12:35 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Jun 2011 07:12:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTin46u5E=i-Qfyqvayof+Yw9hiWH+w@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTin46u5E=i-Qfyqvayof+Yw9hiWH+w@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 20 Jun 2011, Srujan Kotikela wrote:
> Hi,
> 
> I am trying to make a hypercall from a HVM guest. I tried by copying all the 
> xen-libs from Dom0 to DomU. I am getting an
> error PRIV_CMD not found (obviously). I have searched online and found 
> installing PV on HVM drivers is a way to go about
> it. However, this won't guarantee that I can make all the hypercalls (correct 
> me if I am wrong).
> 
> I am trying to invoke a custom hypercall (done by modifying xen_source in 
> dom0). So, is it not possible to have just the
> priv cmd interface in the DomU and invoke a hypercall with xen libraries 
> copied from Dom0 (these libs have my custom
> hypercall included)?

What kernel version are you using?
If you make sure CONFIG_XEN_PVHVM is enabled in your kernel config, you
should have all the mechanisms in place in the kernel to issue
hypercalls.
At that point if you also make sure CONFIG_XENFS is enabled, you should
also be able to issue hypercalls from userland.

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

<Prev in Thread] Current Thread [Next in Thread>