From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VrAGP-0005eC-Jl for mharc-grub-devel@gnu.org; Thu, 12 Dec 2013 12:41:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAGI-0005bY-Uk for grub-devel@gnu.org; Thu, 12 Dec 2013 12:41:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrAGD-0004tv-EH for grub-devel@gnu.org; Thu, 12 Dec 2013 12:41:22 -0500 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:40309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAGD-0004tq-5j for grub-devel@gnu.org; Thu, 12 Dec 2013 12:41:17 -0500 Received: by mail-la0-f47.google.com with SMTP id ep20so572482lab.34 for ; Thu, 12 Dec 2013 09:41:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=OHVA8DSl8M4zF4ZzPJH/X797i1Cv03OSAM64N1ibWLE=; b=DMGotuwpyKSSNrlrLu1Bj9lmwY2QaVj2MFgcm95GiHJuF0XTc5uRXNr9JVrPEmKjin odHEgXMu+Y3C45DAFshkcItTsiQgKPhfmfabp0F/ydsmTikVVaBLgXUOTnXfKNmYSDvb V7yf3EAGlWFR0QgI0aj2DB0prqyLiiQfCunlzJNQgHJVCIkM34pVmEyMbYcB+vTqxMaL 4vHs4wJSxIPpj8Xt2OFtQ6dY/fJsiVl5L1Og3kQn1gVx9uExtBGcGPBNUkCGktnRmYNR 1gkA3VUkSSoMhUdt3npibiXVKqinkqtHnZvEMTbHJsUIsg1iZ2DBW9n50JvRW5E42xBH 1AqQ== X-Received: by 10.152.45.8 with SMTP id i8mr4521093lam.12.1386870075329; Thu, 12 Dec 2013 09:41:15 -0800 (PST) Received: from opensuse.site (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id t9sm36167238lat.1.2013.12.12.09.41.14 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 12 Dec 2013 09:41:14 -0800 (PST) Date: Thu, 12 Dec 2013 21:41:13 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH 3/4] Build grub.xen. Message-ID: <20131212214113.069f9dfa@opensuse.site> In-Reply-To: <20131212173643.GH1431@riva.ucam.org> References: <20131212153643.GA1431@riva.ucam.org> <20131212153741.GD1431@riva.ucam.org> <20131212163907.GG1431@riva.ucam.org> <20131212173643.GH1431@riva.ucam.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 17:41:28 -0000 В Thu, 12 Dec 2013 17:36:43 +0000 Colin Watson пишет: > On Thu, Dec 12, 2013 at 05:45:30PM +0100, Vladimir 'phcoder' Serbinenko wrote: > > No I meant full access to just obe of guest partitions. E.g. FTP may be > > using separate partition and non-admins may have control over it. If system > > has some kind of automatic user creation and /home is separate someone may > > register as boot or grub and put grub.xen in his directory. If /tmp is on > > separate partition and not in RAM then everybody can put grub.xen to > > /tmp/grub/grub.xen > > Oh, right. Perhaps we could just look in a limited set of devices, e.g. > (xen/xvda) or (xen/xvda1)? Is passing it as argument acceptable? I'm afraid that no automagic is going to work for all cases. > I'm not very familiar with how > multi-partition Xen guests are typically set up. How is the root > partition generally designated at the moment? > As I understand it is passed as argument to kernel (i.e. in VM definition) or embedded in initrd as usual.