From: Ian Campbell Subject: Re: Re: PV drivers on HVM using Xen 4.1.1 Date: Thu, 27 Oct 2011 16:13:20 +0100 Message-ID: <1319728400.9436.143.camel@zakaz.uk.xensource.com> References: <30C4B98DD463F3E19F28AA88@nimrod.local> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <30C4B98DD463F3E19F28AA88@nimrod.local> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alex Bligh Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 2011-10-27 at 15:57 +0100, Alex Bligh wrote: > > --On 27 October 2011 13:56:41 +0100 Alex Bligh wrote: > > > I think I've found one reason why we can't get PV block drivers on HVM > > domUs working on Xen 4.1.1 - whether we use a pvops or a xenlinux > > domU kernel. > > > > We are using a line like: > > > > disk = [ "tap:aio:/tmp/centos-pvd.img,xvda,w" ] > > > > We are using effectively a standard 3.0 kernel. Config options including > > the word XEN are below. > > > > We do not see blktapctrl starting in Xen 4.1.1 dom0, but it does > > start in Xen3. > > The magic incantation to fix this here was: > modprobe xen_gntdev > which for some reason is not modprobed in the startup script (Ubuntu > one anyway). I think 3.1 has patches to fix this in general (although I'm not sure about this specific case). > We now see pv block devices on hvm. If you are using gntdev then are you running a qemu to provide the backend? Ian.