NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-xen/48220: xentools-4.1: xl has problems with file/vnd based disks



>Number:         48220
>Category:       port-xen
>Synopsis:       xentools-4.1: xl has problems with file/vnd based disks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 19 18:10:00 +0000 2013
>Originator:     Toby Karyadi
>Release:        NetBSD 6.1
>Organization:
>Environment:
NetBSD non.ofyour.biz 6.1 NetBSD 6.1 (XEN3_DOM0) amd64
>Description:
xl in pkgsrc/sysutils/xentools41, the xen domain control utility to replace xm, 
has the following problems:

1) Does not properly support file based (vnd based) disk configuration, e.g.:
disk = [ 'file:/vol/1/vhosts/host01/host01.disk0.img,hda,w', 
    'file:/vol/1/vhosts/host01/host01.disk1.img,hdb,w' ]
The domain would just hang during startup.

2) Once problem 1) is fixed, xl also has another bug that caused xenbackendd to 
not call the 'block' script to properly undo the vnd device. 

This issue was described originally here:
http://mail-index.netbsd.org/port-xen/2012/04/11/msg007216.html
http://mail-index.netbsd.org/port-xen/2012/05/29/msg007252.html

>How-To-Repeat:
Use xl that comes with xentools41 with a domain that uses one or more 
file-based disk.
>Fix:
I'll attach the patches for xentools41 in a following update to the bug report 
(it's just easier to do so through email). For those who are not too familiar 
with pkgsrc, put these files in the patches directory of 
pkgsrc/sysutils/xentools41 and do 'make makepatchsum' and rebuild. These 
patches apply cleanly to xen 4.1.5 and xen 4.1.6.1 sources.



Home | Main Index | Thread Index | Old Index