[pve-devel] r6472 - in qemu-server/pve2: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Aug 15 07:19:39 CEST 2011


Author: dietmar
Date: 2011-08-15 07:19:39 +0200 (Mon, 15 Aug 2011)
New Revision: 6472

Modified:
   qemu-server/pve2/ChangeLog
   qemu-server/pve2/PVE/QemuServer.pm
Log:
	* PVE/QemuServer.pm (config_to_command): use -device instead of
	-usbdevice, try to assigng fixed port to tablet device



Modified: qemu-server/pve2/ChangeLog
===================================================================
--- qemu-server/pve2/ChangeLog	2011-08-15 04:39:51 UTC (rev 6471)
+++ qemu-server/pve2/ChangeLog	2011-08-15 05:19:39 UTC (rev 6472)
@@ -1,3 +1,8 @@
+2011-08-15  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/QemuServer.pm (config_to_command): use -device instead of
+	-usbdevice, try to assigng fixed port to tablet device
+
 2011-08-12  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/QemuServer.pm (config_to_command): include usb2

Modified: qemu-server/pve2/PVE/QemuServer.pm
===================================================================
--- qemu-server/pve2/PVE/QemuServer.pm	2011-08-15 04:39:51 UTC (rev 6471)
+++ qemu-server/pve2/PVE/QemuServer.pm	2011-08-15 05:19:39 UTC (rev 6472)
@@ -1837,7 +1837,7 @@
     
     # enable absolute mouse coordinates (needed by vnc)
     my $tablet = defined ($conf->{tablet}) ? $conf->{tablet} : $defaults->{tablet};
-    push @$cmd, '-usbdevice', 'tablet' if $tablet;
+    push @$cmd, '-device', 'usb-tablet,bus=ehci.0,port=6' if $tablet;
 
     # host pci devices
     if (my $pcidl = $conf->{hostpci}) {



More information about the pve-devel mailing list