From: Ian Campbell Subject: Re: libxc linux privcmd bugs Date: Mon, 13 Jan 2014 17:06:00 +0000 Message-ID: <1389632760.13654.107.camel@kazak.uk.xensource.com> References: <52D41A0F.5030707@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52D41A0F.5030707@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Xen-devel List List-Id: xen-devel@lists.xenproject.org create ^ title it libxc should use /dev/xen/privcmd on Linux severity it wishlist thanks On Mon, 2014-01-13 at 16:53 +0000, Andrew Cooper wrote: > Hello, > > More bugs for tracking: > > 1) PERROR("Could not obtain handle on privileged command interface"); > doesn't indicate which path(s) were tried. > > 2) xc_linux_osdep.c:linux_privcmd_open() only tries to open > "/proc/xen/privcmd" which is the classic-xen location, whereas the > expected location under PVops is "/dev/xen/privcmd". Nothing has ever used /dev/xen/privcmd since it was reimplemented to replace xenfs, so describing it as expected is a bit strong. At best there is a wishlist issue here for someone to finish implementing this transition, which I've now created. http://lists.xen.org/archives/html/xen-devel/2011-12/msg01344.html http://lists.xen.org/archives/html/xen-devel/2011-12/msg01345.html looks to be related patches, not sure why thay didn't go in back then. Lack of a S-o-b perhaps. > The other open > functions (evtchn, gnttab, gntshr) exclusivly use "/dev/xen/$FOO". These have only ever been driver rather than proc based so there was never a transition. Ian.