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

[Xen-devel] [PATCH] xend: Fix tapdisk creation for managed domains



Hi,

The first start of a managed domain succeeds.  But the second 
start of the managed domain fails as follows.  The problem occurs 
when tapdisks are given to the managed domain.  I think that the 
problem occurs because the uname of tapdisks is overwritten with 
"phy:/dev/xen/tadisk-2/tapdev*".

# xm new vm2
Using config file "/etc/xen/vm2".
# xm list --long vm2 | grep uname
            (uname tap:aio:/xen/root-vm2.img)
# xm start vm2
# xm list --long vm2 | grep uname
            (uname phy:/dev/xen/blktap-2/tapdev0)
# xm shutdown vm2
# xm list --long vm2 | grep uname
            (uname phy:/dev/xen/blktap-2/tapdev0)
# xm start vm2
Error: need more than 2 values to unpack
Usage: xm start <DomainName>

Start a Xend managed domain
  -p, --paused                   Do not unpause domain after starting it    
  -c, --console_autoconnect      Connect to the console after the domain    
                                 is created
  --vncviewer                    Connect to display via VNC after the       
                                 domain is created
  --vncviewer-autopass           Pass VNC password to viewer via stdin and  
                                 -autopass


This patch solves the problem.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: tapdisk.patch
Description: Binary data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.