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-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1598] New: vnc does not start on HVM guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 6 Apr 2010 09:13:14 -0700
Delivery-date: Tue, 06 Apr 2010 09:13:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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