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

[Xen-bugs] [Bug 1377] New: [stubdom]The xm save command hangs if save <Domain-dm>



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1377

           Summary: [stubdom]The xm save command hangs if save <Domain-dm>
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: haicheng.li@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): 
Guest Arch (ia32/ia32e/IA64): 
Guest OS Type (Linux/Windows):
Change Set: 18533
Hardware: SantaRosa/HP Desktop Computer dc7700p



Bug detailed description:
--------------------------
If enable the stubdom supporting, there are apair of domains will be created
one is <Domain> and other is <Domain-dm>. It can successfully save the <Domain>
but if the xm save command executed on <Domain-dm> then the xm save command
will hang.


Reproduce steps:
----------------
1. [root@localhost simon]# xm cr rhel4u1.hvm
2. [root@localhost simon]# xm save rhel4u1-dm ./rhel4u1-dm.xm.save
3. the xm save command hangs;
4. switch to another terminal;
5. [root@localhost simon]# xm li
[root@localhost simon]# xm li
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1686     2     r-----   4088.6
migrating-rhel4u1-dm                         7    32     1     -b----     11.1
rhel4u1                                      6   256     2     -b----    249.6

Current result:
----------------
the xm save command hangs.


Expected result:
----------------
if xm save command don't support saving <domain-dm> it should give user a
warning message; if it can then it should finish the executing normally.

Basic root-causing log:
----------------------
the guest's configuration file as bellow:
[root@localhost simon]# vim rhel4u1.hvm 
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory =  256
name = "rhel4u1"
vcpus=2
vif = [ 'ip=127.0.1.1,mac=aa:00:00:12:23:34' ]
device_model = '/usr/lib/xen/bin/stubdom-dm'
boot="c"
sdl=0
opengl=0
 20 vnc=0
vncpasswd=''
stdvga=0
pae=1

[root@localhost simon]# vim /etc/xen/rhel4u1-dm
kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
vif = [ '', 'ip=127.0.1.1,mac=aa:00:00:12:23:34' ]
disk = [ 'file:/home/simon/ia32e_rhel4u1.img,hda,w' ]
vfb = [ 'type=sdl' ]


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

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