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

Re: [Xen-devel] PRIVCMD in HVM DomU


  • To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
  • From: Srujan Kotikela <ksrujandas@xxxxxxxxx>
  • Date: Wed, 22 Jun 2011 12:41:49 -0500
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 22 Jun 2011 10:42:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Qq1OjuhIEEjEXcr9bKqjwHa3DE98BqmbxHoQZqss4sKSzLeYOfwbiZO5E7vZRg6Nk3 itxILOeSHs2AcvhG22vQ7dkhHgQ6vrabEgQ5NO0simk/fR/qDUWV4U2YyFLxlL6t+hfu tvIDF1JdWpbxvv6B8Qa+Qk8+hxZcmN5sfbbXE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



On Wed, Jun 22, 2011 at 12:36 PM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
On Wed, 22 Jun 2011, Srujan Kotikela wrote:
> From: Srujan Kotikela <ksrujandas@xxxxxxxxx>
> Date: Wed, Jun 22, 2011 at 12:14 PM
> Subject: Re: [Xen-devel] PRIVCMD in HVM DomU
> To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
>
>
>
> On Wed, Jun 22, 2011 at 3:11 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:
>       On Tue, 2011-06-21 at 23:35 +0100, Srujan Kotikela wrote:
>
>
>       > I installed 2.6.38.8 with CONFIG_XEN, CONFIG_XEN_PVHVM and
>       > CONFIG_XENFS. Then I copied all the libraries (from /usr/include/xen*
>       > and /usr/libxen*) from Dom0 to DomU. I still get the
>       >
>       > ERROR Internal error: Could not obtain handle on privileged command
>       > interface (2 = No such file or directory)
>       >
>       > I checked the /proc/xen. There is no privcmd present there.
>
> Is anything present in that directory at all? Did you arrange for xenfs
> to be mounted? You will need CONFIG_XEN_COMPAT_XENFS in order for the
> mount-point to be present.
>
> privcmd was exposed to domU in
>        commit 9387377eb79a44f453fd27c3d00a2e5da587e369
>        Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>        Date:   Wed Oct 6 08:51:32 2010 -0700
>
>            xen/privcmd: make privcmd visible in domU
> so it should be in v2.6.38.8.
>
> Ian.
>
>
> Hi,
>
> The CONFIG_XEN_COMPAT_XENFS = y
> And there is nothing present in the /proc/xen directory.
>

try

mount -t xenfs xenfs /proc/xen

It worked. I was able to do a hypercall from the user-level. Thanks for your help.
_______________________________________________
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®.