Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755813AbbLANyX (ORCPT ); Tue, 1 Dec 2015 08:54:23 -0500 Received: from smtp.citrix.com ([66.165.176.89]:31083 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754336AbbLANyW (ORCPT ); Tue, 1 Dec 2015 08:54:22 -0500 X-IronPort-AV: E=Sophos;i="5.20,369,1444694400"; d="scan'208";a="315644751" Message-ID: <565DA68B.9000800@citrix.com> Date: Tue, 1 Dec 2015 13:54:19 +0000 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Doug Goldstein , CC: , Boris Ostrovsky Subject: Re: [Xen-devel] [PATCH 1/2] xen: wrap xenbus on xenfs with COMPAT option References: <1448919310-27981-1-git-send-email-cardoe@cardoe.com> <565D79A2.4060901@citrix.com> <565D79FE.7060309@citrix.com> <565DA473.9030000@cardoe.com> In-Reply-To: <565DA473.9030000@cardoe.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1802 Lines: 45 On 01/12/15 13:45, Doug Goldstein wrote: > On 12/1/15 4:44 AM, David Vrabel wrote: >> On 01/12/15 10:42, David Vrabel wrote: >>> On 30/11/15 21:35, Doug Goldstein wrote: >>>> Since Xen 4.6.0, using xenbus via xenfs (/proc/xen/xenbus) is deprecated >>>> and /dev/xen/xenbus via pvops is used instead. This is an effort to >>>> eventually drop this interface after a reasonable amount of time. >>> >>> I would prefer the ... /proc/xen/evtchn files to be >> >> I meant /proc/xen/privcmd here. >> >> David >> > > I can look into that. I do have a few questions, some of which are out > of scope from the original patch. > > Would it be preferable to just remove "xenbus" from the xenfs > filesystem? Ever since Linux 3.14 even if you are running a version of > Xen earlier than 4.6 you will not be able to have a disaggregated > xenstore (which is the xenbus consumer) due to the addition of F_ATOMIC_POS. If /proc/xen/xenbus is made a symlink then older Xen toolstacks will work again. > Is it safe for a kernel virtual filesystem to provide a symlink outside > of itself where the destination can't be verified? Yes. The symlink target is just a string containing a path. > Since the /proc/xen mount point has been marked as COMPAT for nearly 6 > years would the eventual goal be to move xenfs to somewhere like > /sys/hypervisor given that most of the virtual filesystems are mounted > under /sys now days? No. The information might move to /sys/hypervisor (or elsewhere) but xenfs will always be mounted in /proc/xen (or not mounted at all). David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/