WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] PV drivers on HVM using Xen 4.1.1

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV drivers on HVM using Xen 4.1.1
From: Alex Bligh <alex@xxxxxxxxxxx>
Date: Thu, 27 Oct 2011 15:11:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Alex Bligh <alex@xxxxxxxxxxx>
Delivery-date: Thu, 27 Oct 2011 07:19:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1110271443530.3519@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A853EEFF3A385ED3FA09E5F0@xxxxxxxxxxxx> <alpine.DEB.2.00.1110271443530.3519@kaball-desktop>
Reply-to: Alex Bligh <alex@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


--On 27 October 2011 14:54:48 +0100 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:

  disk = [ "tap:aio:/tmp/centos-pvd.img,xvda,w" ]

If this is an HVM guest,

It is

you should use hda here because you want to
make sure that an emulated IDE disk is created for you as well.

On Xen3.3 (and apparently on Xen 4) this happens anyway

Also if /tmp/centos-pvd.img is a raw file, you might as well use file:
rather than tap:aio.

There seems to be some doubt (see Ian's message) about whether this
changes the backend driver that is used. The final deployment application
is tap:aio with a block device, so that's why we're doing this.

--
Alex Bligh

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel