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

[Xen-bugs] [Bug 1598] New: vnc does not start on HVM guest



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

           Summary: vnc does not start on HVM guest
           Product: Xen
           Version: 3.0.4
          Platform: x86-64
        OS/Version: Linux-2.6
            Status: NEW
          Severity: major
          Priority: P2
         Component: 2.6.18 domU
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: pentarh@xxxxxxxxx
                CC: pentarh@xxxxxxxxx


The problem is VNC does not start on any combination of VNC options in domU
config. In some reason xend passes '-nographic' option to qemu-dm:

 6307 ?        Sl     0:04 /usr/lib64/xen/bin/qemu-dm -d 6 -domain-name bsd70
-videoram 4 -k en-us -nographic -vcpus 1 -boot c -serial pty -acpi -net none -M
xenfv

while domU config is:
================
name = 'bsd70'
memory = 512
vcpus = 1
disk = [ 'file:/data/disks/releng_7_2.img,hda,w' ]
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
#vnclisten = '192.168.0.31'
#vncpassword = '******'
keymap = "en-us"
#vif = [ "mac=00:16:36:72:65:87,bridge=eth1,script=vif-bridge" ]
#vif = [ "" ]
parallel = "none"
serial = "pty"
================

When I try to start it using "xm create" or "xm new .. xm start", there is no
VNC open port in "netstat" and "ps ax | grep qemu" shows that '-nographic'
option has been passed to qemu-dm:

 6307 ?        Sl     0:04 /usr/lib64/xen/bin/qemu-dm -d 6 -domain-name bsd70
-videoram 4 -k en-us -nographic -vcpus 1 -boot c -serial pty -acpi -net none -M
xenfv

But... When i reboot dom0 with working domU, xendomains stores this domain, and
I see it in "xm list" after reboot.

So when I try to "xm start bsd70", it starts with VNC:
 4868 ?        Sl     0:05 /usr/lib64/xen/bin/qemu-dm -d 3 -domain-name bsd70
-videoram 4 -k en-us -vnc 127.0.0.1:0 -vncunused -vcpus 1 -boot c -serial pty
-acpi -net none -M xenfv

I can connect with VNC and this domain works. So, VNC works only after reboot )


-- 
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®.