From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Driver domains and hotplug scripts, redux Date: Tue, 31 Jan 2012 20:02:34 +0000 Message-ID: <1328040154.28964.29.camel@dagon.hellion.org.uk> References: <1325694562.25206.304.camel@zakaz.uk.xensource.com> <20236.27158.706017.813195@mariner.uk.xensource.com> <20236.28931.127139.752426@mariner.uk.xensource.com> <1326284268.17210.200.camel@zakaz.uk.xensource.com> <20239.3781.557131.765561@mariner.uk.xensource.com> <20244.25907.223422.50324@mariner.uk.xensource.com> <1326791863.14689.52.camel@zakaz.uk.xensource.com> <1326793927.14689.80.camel@zakaz.uk.xensource.com> <1326796747.14689.93.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Roger Pau =?ISO-8859-1?Q?Monn=E9?= Cc: "xen-devel@lists.xensource.com" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2012-01-31 at 09:57 +0000, Roger Pau Monn=E9 wrote: > = > = > What I don't get is what you do when you have to boot a PV DomU which > root HDD is on the driver domain. Dom0 needs the kernel/initrd from > the HDD (usually extracted using pygrub). Since the HDD is inside the > driver domain, Dom0 doesn't have access to that image, so there's no > way to extract the kernel/initrd from the Dom0. = The usual way to deal with is to create a vbd device in dom0 (or which ever domain runs pygrub) which attached to the backend domain and pass that to pygrub. This is the sort of thing libxl_device_disk_local_attach would be expected to handle. Ian.