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

[Xen-devel] xen 3.0.4 blktap:aio disks don't work with pygrub

To: Alastair Tse <atse@xxxxxxxxxxxxx>
Subject: [Xen-devel] xen 3.0.4 blktap:aio disks don't work with pygrub
From: John Byrne <john.l.byrne@xxxxxx>
Date: Fri, 12 Jan 2007 20:27:24 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Jan 2007 20:27:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

Changeset 13112 (13134 in xen-unstable) added after the branch provoked the problem by causing some code that was previously dead in _configureBootloader() in XendDomainInfo.py. The code to mount the image loses the information that the tap driver is "aio" is lost and when device_add() in XendConfig.py, the code assumes the disk is qcow and things fail. (I assume things work fine for qcow disks.) If I change the "qcow" in device_add() to "aio", images boot; so I think the only thing needed to fix the problem is to get the information to device_add() and to generate the correct string.

The tap-driver information can be easily passed down in the xenapi_vbd, but I cannot determine what the proper key should be and I probably shouldn't just make it up since it is a XenAPI object and I probably don't understand some of the subtleties of adding it. I'd be happy to try with a little advice, though.

John Byrne







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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xen 3.0.4 blktap:aio disks don't work with pygrub, John Byrne <=