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: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] PRIVCMD in HVM DomU
From: Srujan Kotikela <ksrujandas@xxxxxxxxx>
Date: Wed, 22 Jun 2011 12:15:21 -0500
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 22 Jun 2011 10:16:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iaXWgGRfbZPiMAm0lATol+bB4XLBYEW8TgaivAscYmM=; b=GDqZYFeqbi5Gk75CDZL46RInuQK2X1nDL0BYTrISBs2pvnTlSrM9cq1yXNuKOvtw4x Sfu2LCIa1lG9JbCuLo9xv05Idpk69NC8IOsZ0v09uT1fQ8RX47A7Hra6VHIJ+P5NYg26 0xd6dIXF11XZ+PnA5F5u+cl7AkraX7Bnz7Fk4=
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=oVRT8LLSwZwIS3ixfMe5CloSs7Du6G/Lic3OIOqxLPg3ZBflqIr6PC2+wDZPTDBLky dLyxW8JRIG2JbvIvvtkzI0jPQCK+nKDs+mY/V8MOHpYIUbvNivijmDQHsEWCLjgPcmLf gFCL+tMW/oQkNb2j1QZ+vjJrwdsIezMK1WETw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTin4DaNAxjPvaX_cT08Y6KV1DqR5Nw@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> <alpine.DEB.2.00.1106211508491.12963@kaball-desktop> <BANLkTinSouSZQcZuyeZcA+-xjnAyY3Y-6A@xxxxxxxxxxxxxx> <1308671995.6920.98.camel@xxxxxxxxxxxxxxxxxxxxxx> <BANLkTinwOiv1Ohr77_B-JUZF4gfHJxm9Jg@xxxxxxxxxxxxxx> <1308730261.6920.137.camel@xxxxxxxxxxxxxxxxxxxxxx> <BANLkTin4DaNAxjPvaX_cT08Y6KV1DqR5Nw@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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.


_SDK



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>