Bug 725350

Summary: start guest with multiple vnc desktop number,only can connect successfully the last via vncviewer.
Product: Red Hat Enterprise Linux 6 Reporter: FuXiangChun <xfu>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.2CC: bcao, juzhang, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-11 21:48:27 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-07-25 09:28:58 UTC
Description of problem:
only the last desktop number can be connected successfully via vncviewer. it will lead to that multiple user can not concurrently connect windows guest via vncviewer.

Version-Release number of selected component (if applicable):
# uname -r
2.6.32-131.0.15.el6.x86_64
# rpm -qa|grep kvm
qemu-kvm-0.12.1.2-2.171.el6.x86_64

How reproducible:


Steps to Reproduce:
1./usr/libexec/qemu-kvm -M rhel6.1.0 -enable-kvm -m 4G -smp 2,sockets=2,cores=1,threads=1 -name rhel6 -uuid 745fe449-aac8-29f1-0c2d-5042a707263b -boot c -drive file=win03.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet1,mac=00:12:17:18:49:01,bus=pci.0,id=virtio-net-pci1 -monitor stdio  -vnc :1 -vnc :2 -vnc :3 -vnc :4 -vnc :5
2.vncviewer 10.66.9.25:1(refused)
3.vncviewer 10.66.9.25:2(refused)
4.vncviewer 10.66.9.25:3(refused)
5.vncviewer 10.66.9.25:4(refused)
6.vncviewer 10.66.9.25:5(success)
  
Actual results:
only connect to the late vnc desktop number(5) successfully. others vnc desktop number will be refused 

Expected results:
all vnc desktop numbers can be connected successfully. 



Additional info:

Comment 2 juzhang 2011-07-25 10:11:29 UTC
> Expected results:
1. all vnc desktop numbers can be connected successfully. 
2. if we don't support multi vnc client, qemu-kvm process should not be booted successfully if attached more than one  -vnc :1 -vnc :2

Comment 3 Mike Cao 2011-07-25 10:53:31 UTC
FYI,seems our management tool wills handle it 

I tried it with virt-manager 

Actual Results:
"Unable  to complete install : 'internal error only 1 graphics device is supported"


also tried with RHEVM

Acutual Results:
only could add one vnc desktop numbers .no option to add the second graphics device.

Comment 4 juzhang 2011-07-26 02:08:10 UTC
(In reply to comment #3)
> FYI,seems our management tool wills handle it 
> 
> I tried it with virt-manager 
> 
> Actual Results:
> "Unable  to complete install : 'internal error only 1 graphics device is
> supported"
> 
> 
> also tried with RHEVM
> 
> Acutual Results:
> only could add one vnc desktop numbers .no option to add the second graphics
> device.

Since management tool can control it,downgrade priority to low.we had better handle it in our qemu-level as well.

Comment 5 Dor Laor 2011-08-11 21:48:27 UTC
Low priority