Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965271Ab2EYUr1 (ORCPT ); Fri, 25 May 2012 16:47:27 -0400 Received: from mga03.intel.com ([143.182.124.21]:54661 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934007Ab2EYUrX convert rfc822-to-8bit (ORCPT ); Fri, 25 May 2012 16:47:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="104417777" From: "Liu, Jinsong" To: Konrad Rzeszutek Wilk CC: Borislav Petkov , "linux-kernel@vger.kernel.org" , "Luck, Tony" , "xen-devel@lists.xensource.com" Subject: RE: [Xen-devel] [PATCH 1/3] xen/mce: Add mcelog support for Xen platform (v2) Thread-Topic: [Xen-devel] [PATCH 1/3] xen/mce: Add mcelog support for Xen platform (v2) Thread-Index: AQHNOrQzr6jLO/PX8Ee8ZH/5SHvSCZba9vXg Date: Fri, 25 May 2012 20:47:20 +0000 Message-ID: References: <20120522092354.GB18578@aftab.osrc.amd.com> <20120524103023.GA27063@aftab.osrc.amd.com> <20120524162605.GK27063@aftab.osrc.amd.com> <20120524191039.GB28338@phenom.dumpdata.com> <20120525180303.GB27280@phenom.dumpdata.com> <20120525202309.GA14524@phenom.dumpdata.com> In-Reply-To: <20120525202309.GA14524@phenom.dumpdata.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 27 Konrad Rzeszutek Wilk wrote: >> What I mean is, >> If mcelog.c create /dev/xen-mcelog (say, minor=226), native mce.c >> would create /dev/mcelog (minor=227). >> Under such case, may we create a symlink in /dev/mcelog pointing to >> /dev/xen-mcelog, without touching native mce code? and how? > > I thought the idea was that we would create /dev/mcelog using the > same major/minor. Our current patch just use same major/minor, by redirection method. Is it acceptable? > > However if you want to create /dev/xen-mcelog and then create from > the kernel another file in /dev that is name 'mcelog' and is a > symlink to /dev/mcelog - that is OK too. Obviously you will also need > to disable the generic '/dev/mcelog' (and that can be done in the > same way as lguest does it). No, that's not my purpose. Thanks, Jinsong-- 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/