Bug 760456

Summary: boot guest with both spice and vnc , vnc will be disabled.
Product: Red Hat Enterprise Linux 5 Reporter: FuXiangChun <xfu>
Component: kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8CC: alevy, juzhang, kraxel, michen, mkenneth, rhod, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-12 18:22:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description FuXiangChun 2011-12-06 09:04:41 UTC
Description of problem:
when using vncview to connect guest,  vncview show "unable connect to socket:Connection refused". spice work well. 

(qemu) info vnc
VNC server disabled

Version-Release number of selected component (if applicable):
# rpm -qa|grep kvm
kvm-83-246.el5

# uname -r
2.6.18-300.el5

How reproducible:
always

Steps to Reproduce:

1.boot guest with spice and vnc
/usr/libexec/qemu-kvm  -M rhel5.6.0 -m 4096 -smp 4,cores=2,threads=1,sockets=2 -cpu qemu64,vendor="AuthenticAMD",+sse2 -soundhw all -name win7 -usbdevice tablet -rtc-td-hack -uuid 123465d2-2032-848d-bda0-de7adb149048 -boot c -drive file=/home/rhel5.8-64.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net nic,macaddr=54:52:00:27:12:23,vlan=0,model=virtio -net tap,vlan=0,script=/etc/qemu-ifup -serial pty -parallel none -usb -balloon none -monitor stdio -fda /usr/share/virtio-win/virtio-drivers.vfd -vnc :1

2.use vncview to connect guest
$vncviewer 10.66.9.97:5902
3.
  
Actual results:
Connection refused

Expected results:
connection successfully

Additional info:

Comment 1 Ronen Hod 2011-12-07 12:16:40 UTC
Is this a regression?
If it is not a regression, does it mean that VNC never worked?

Comment 2 FuXiangChun 2011-12-08 03:02:18 UTC
(In reply to comment #1)
> Is this a regression?
> If it is not a regression, does it mean that VNC never worked?

This isn't a regression. rhel5.7 GA has the same issue.