Skip to content

Commit

Permalink
Syncs vncviewer mouse cursor when connected to Windows VMs
Browse files Browse the repository at this point in the history
Fixes bug#885966

Change-Id: Ie78ab1fc265dda61ceb5553e3156d08902115a65
  • Loading branch information
Zhongyue Luo committed Feb 16, 2012
1 parent 34d77ac commit 4118c54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nova/virt/libvirt.xml.template
Expand Up @@ -166,6 +166,9 @@
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
#if $getVar('use_usb_tablet', True)
<input type='tablet' bus='usb'/>
#end if

#if $getVar('vncserver_listen', False)
<graphics type='vnc' port='-1' autoport='yes' keymap='${vnc_keymap}' listen='${vncserver_listen}'/>
Expand Down
3 changes: 3 additions & 0 deletions nova/virt/libvirt/connection.py
Expand Up @@ -100,6 +100,9 @@
default='',
help='Override the default libvirt URI '
'(which is dependent on libvirt_type)'),
cfg.BoolOpt('use_usb_tablet',
default=True,
help='Sync virtual and real mouse cursors in Windows VMs'),
cfg.StrOpt('cpuinfo_xml_template',
default=utils.abspath('virt/cpuinfo.xml.template'),
help='CpuInfo XML Template (Used only live migration now)'),
Expand Down

0 comments on commit 4118c54

Please sign in to comment.