]> git.proxmox.com Git - qemu-server.git/log
qemu-server.git
10 years agobump version to 3.1-16
Dietmar Maurer [Mon, 14 Apr 2014 09:28:31 +0000 (11:28 +0200)]
bump version to 3.1-16

10 years agofix bug #502: allow creation of empty vma archives
Dietmar Maurer [Mon, 14 Apr 2014 09:21:01 +0000 (11:21 +0200)]
fix bug #502: allow creation of empty vma archives

10 years agodisable cpu enforce flag
Dietmar Maurer [Thu, 3 Apr 2014 07:39:54 +0000 (09:39 +0200)]
disable cpu enforce flag

Enforce needs kernel 3.10, so we do not use it for now.

10 years agoenforce cpu check
Alexandre Derumier [Thu, 27 Mar 2014 12:47:30 +0000 (13:47 +0100)]
enforce cpu check

enable check if host support all cpu flags configured for the guests

this avoid some bad setup like Opteron vcpu on a intel host for example,
and avoid some bad live migrations

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agoadd depend on libpve-access-control
Dietmar Maurer [Mon, 17 Mar 2014 09:53:15 +0000 (10:53 +0100)]
add depend on libpve-access-control

10 years agofix changelog
Dietmar Maurer [Mon, 10 Feb 2014 11:30:08 +0000 (12:30 +0100)]
fix changelog

10 years agoQemuMigrate: print migration xbzrle if enabled (has xbzrlecachesize) for whatever...
Stefan Priebe [Sun, 9 Feb 2014 09:05:48 +0000 (10:05 +0100)]
QemuMigrate: print migration xbzrle if enabled (has xbzrlecachesize) for whatever reason (bug qemu, bug pve, ...)

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
10 years agobump version to 3.1-15
Dietmar Maurer [Mon, 10 Feb 2014 07:07:06 +0000 (08:07 +0100)]
bump version to 3.1-15

10 years agoremove unneeded parentheses
Dietmar Maurer [Mon, 10 Feb 2014 07:03:50 +0000 (08:03 +0100)]
remove unneeded parentheses

10 years agosince qemu 1.7 xbzrle is AUTOMATICALLY enabled in the end of transfer - we need to...
Stefan Priebe [Sat, 8 Feb 2014 19:20:55 +0000 (20:20 +0100)]
since qemu 1.7 xbzrle is AUTOMATICALLY enabled in the end of transfer - we need to explicit disable all feature we do not want

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
10 years agoadd changelog for last commit
Dietmar Maurer [Fri, 31 Jan 2014 05:52:46 +0000 (06:52 +0100)]
add changelog for last commit

10 years agoAdds the VM name to the title for the spice clent, making it easier to identify which...
Lindsay Mathieson [Thu, 16 Jan 2014 13:21:05 +0000 (23:21 +1000)]
Adds the VM name to the title for the spice clent, making it easier to identify which in window lists etc.

Signed-off-by: Lindsay Mathieson <lindsay.mathieson@gmail.com>
10 years agobump version to 3.1-14
Dietmar Maurer [Wed, 29 Jan 2014 05:49:45 +0000 (06:49 +0100)]
bump version to 3.1-14

10 years agodeactivate volume after clone
Dietmar Maurer [Wed, 29 Jan 2014 05:44:06 +0000 (06:44 +0100)]
deactivate volume after clone

To avoid lvm LVs to be active on several nodes.

10 years agowhite space cleanups
Dietmar Maurer [Tue, 14 Jan 2014 09:33:36 +0000 (10:33 +0100)]
white space cleanups

10 years agoadd cpu_hotplug
Alexandre Derumier [Tue, 7 Jan 2014 12:32:51 +0000 (13:32 +0100)]
add cpu_hotplug

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agoadd maxcpus config
Alexandre Derumier [Tue, 7 Jan 2014 12:32:50 +0000 (13:32 +0100)]
add maxcpus config

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agocleanup previous commit
Dietmar Maurer [Fri, 10 Jan 2014 12:09:19 +0000 (13:09 +0100)]
cleanup previous commit

10 years agomigration : enable auto-converge capability v2
Alexandre Derumier [Thu, 9 Jan 2014 09:58:48 +0000 (10:58 +0100)]
migration : enable auto-converge capability v2

This reduce guest cpu speed if dirtied bytes is 50% more than the approx.amount of bytes that just got transferred since the last time we were in this routine.

qemu commit :
http://git.qemu.org/?p=qemu.git;a=commit;h=bde1e2ec2176c363c1783bf8887b6b1beb08dfee

tested with "stress -m 2 -c 2" under debian

without autoconvergence : downtime 12s - duration 12min
with autoconvergence : downtime 2s - duration 4min

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agobump version to 3.1-13
Dietmar Maurer [Fri, 13 Dec 2013 10:46:25 +0000 (11:46 +0100)]
bump version to 3.1-13

10 years agoadd more options for pci passthrough
Dietmar Maurer [Fri, 13 Dec 2013 10:43:05 +0000 (11:43 +0100)]
add more options for pci passthrough

10 years agobump version to 3.1-12
Dietmar Maurer [Tue, 10 Dec 2013 09:49:55 +0000 (10:49 +0100)]
bump version to 3.1-12

10 years agocode cleanup
Dietmar Maurer [Tue, 10 Dec 2013 09:46:50 +0000 (10:46 +0100)]
code cleanup

Use new helper methods.

10 years agouse new helper PVE::Tools::next_spice_port()
Dietmar Maurer [Mon, 9 Dec 2013 12:23:26 +0000 (13:23 +0100)]
use new helper PVE::Tools::next_spice_port()

10 years agospiceproxy: use POST instead of GET
Dietmar Maurer [Mon, 9 Dec 2013 07:17:52 +0000 (08:17 +0100)]
spiceproxy: use POST instead of GET

using GET is a security risk (no CSRF checks)

10 years agoadd changelog entry for last commit
Dietmar Maurer [Thu, 5 Dec 2013 05:36:00 +0000 (06:36 +0100)]
add changelog entry for last commit

10 years agoqemuserver : iothrottle add support for throttling burst max
Alexandre Derumier [Wed, 4 Dec 2013 14:12:36 +0000 (15:12 +0100)]
qemuserver : iothrottle add support for throttling burst max

http://git.qemu.org/?p=qemu.git;a=commit;h=3e9fab690d59ac15956c3733fe0794ce1ae4c4af

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agoadd 'lsi53c810' to the list of scsi controllers
Dietmar Maurer [Wed, 4 Dec 2013 08:11:36 +0000 (09:11 +0100)]
add 'lsi53c810' to the list of scsi controllers

10 years agoadd drive option 'discard'
Dietmar Maurer [Wed, 4 Dec 2013 07:42:51 +0000 (08:42 +0100)]
add drive option 'discard'

10 years agoadd vmxnet3 to list of available network card models
Dietmar Maurer [Wed, 4 Dec 2013 06:36:11 +0000 (07:36 +0100)]
add vmxnet3 to list of available network card models

10 years agoadd 'pvscsi' to the list of scsi controllers.
Dietmar Maurer [Wed, 4 Dec 2013 05:50:58 +0000 (06:50 +0100)]
add 'pvscsi' to the list of scsi controllers.

QEMU can now emulate the VMware PVSCSI device.

10 years agofix 'qm unlink' command syntax
Dietmar Maurer [Wed, 4 Dec 2013 05:16:12 +0000 (06:16 +0100)]
fix 'qm unlink' command syntax

It is not possible to use idlist as argument, because our getoption parser
can't handle that. So we simply pass idlist as option, for example

 # qm unlink 100 --idlist 'ide2,ide3'

10 years agodepend on pve-qemu-kvm >= 1.7-1
Dietmar Maurer [Tue, 3 Dec 2013 09:49:11 +0000 (10:49 +0100)]
depend on pve-qemu-kvm >= 1.7-1

10 years agoqemu-img : qemu 1.7 use -n for skip volume create
Alexandre Derumier [Thu, 28 Nov 2013 16:17:33 +0000 (17:17 +0100)]
qemu-img : qemu 1.7 use -n for skip volume create

http://git.qemu.org/?p=qemu.git;a=commit;h=b2e10493c71160d88bb823cae9a92e806a79b9d6

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agobump version to 3.1-10
Dietmar Maurer [Fri, 29 Nov 2013 08:18:59 +0000 (09:18 +0100)]
bump version to 3.1-10

10 years agoadd +lahf_lm flag to kvm64 cpudef
Alexandre Derumier [Thu, 28 Nov 2013 15:34:17 +0000 (16:34 +0100)]
add +lahf_lm flag to kvm64 cpudef

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
10 years agoallow to migrate VMs using SPICE usb redirection
Dietmar Maurer [Tue, 26 Nov 2013 06:37:18 +0000 (07:37 +0100)]
allow to migrate VMs using SPICE usb redirection

10 years agoinclude sendkey in directory index
Dietmar Maurer [Wed, 20 Nov 2013 05:54:06 +0000 (06:54 +0100)]
include sendkey in directory index

10 years agobump version to 3.1-9
Dietmar Maurer [Tue, 19 Nov 2013 07:17:58 +0000 (08:17 +0100)]
bump version to 3.1-9

10 years agodeactivate volumes after clone to other node
Dietmar Maurer [Tue, 19 Nov 2013 07:15:54 +0000 (08:15 +0100)]
deactivate volumes after clone to other node

11 years agobump version to 3.1-8
Dietmar Maurer [Mon, 14 Oct 2013 05:36:47 +0000 (07:36 +0200)]
bump version to 3.1-8

11 years agocorrecctly check if option is a drive
Dietmar Maurer [Mon, 14 Oct 2013 05:35:04 +0000 (07:35 +0200)]
correcctly check if option is a drive

11 years agobump version to 3.1-7
Dietmar Maurer [Wed, 2 Oct 2013 07:13:59 +0000 (09:13 +0200)]
bump version to 3.1-7

11 years agocleanup spice code
Dietmar Maurer [Wed, 2 Oct 2013 07:11:57 +0000 (09:11 +0200)]
cleanup spice code

11 years agoadd multi-monitors spice support
Alexandre Derumier [Wed, 25 Sep 2013 13:33:08 +0000 (15:33 +0200)]
add multi-monitors spice support

add qxl2 (2monitors),qxl3 (3monitors),qxl4 (4monitors) vga type.

For linux, we only need 1 qxl card with more memory

For windows, we need 1 qxl card by monitor

Original Information from spice-mailing
"
You need to specify multiple devices for Windows VMs. This is what
libvirt gives me (via 'virsh domxml-to-native qemu argv DOMAIN_XML'):
<...> -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=33554432 -device qxl,id=video1,ram_size=67108864,vram_size=33554432 -device qxl,id=video2,ram_size=67108864,vram_size=33554432 -device qxl,id=video3,ram_size=67108864,vram_size=33554432

For Linux VM, just one qxl device is OK but then it's advisable to
increase the available RAM:
<...> -vga qxl -global qxl-vga.ram_size=134217728 -global qxl-vga.vram_size=33554432

If you don't turn off surfaces, then you should increase vram size to
say 64 MB from current default of 32 MB.
"

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agouse warnings instead of global -w flag
Dietmar Maurer [Tue, 1 Oct 2013 11:14:49 +0000 (13:14 +0200)]
use warnings instead of global -w flag

11 years agobump version to 3.1-6
Dietmar Maurer [Tue, 1 Oct 2013 10:42:51 +0000 (12:42 +0200)]
bump version to 3.1-6

11 years agouse new PVE::Storage::abs_filesystem_path()
Dietmar Maurer [Tue, 1 Oct 2013 10:41:06 +0000 (12:41 +0200)]
use new PVE::Storage::abs_filesystem_path()

The check_volume_access() method does no longer return a path.

11 years agobump version to 3.1-5
Dietmar Maurer [Tue, 24 Sep 2013 04:55:40 +0000 (06:55 +0200)]
bump version to 3.1-5

11 years agoadd opensolaris ostype and disable x2apic
Alexandre Derumier [Mon, 23 Sep 2013 07:10:32 +0000 (09:10 +0200)]
add opensolaris ostype and disable x2apic

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agobump version to 3.1-4
Dietmar Maurer [Thu, 19 Sep 2013 04:29:57 +0000 (06:29 +0200)]
bump version to 3.1-4

11 years agoqemu migrate : only wait for spice server online + eval
Alexandre Derumier [Wed, 18 Sep 2013 05:45:39 +0000 (07:45 +0200)]
qemu migrate : only wait for spice server online + eval

Currently offline migration fail ,because we are trying to check with qmp the spiceserver status.
This should be done online only.

I also add eval, to avoid migration lock if qmp query fail.

Fix :http://forum.proxmox.com/threads/16093-VM-is-locked-after-offline-migration?p=82852

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agobump version to 3.1-3
Dietmar Maurer [Tue, 17 Sep 2013 07:13:41 +0000 (09:13 +0200)]
bump version to 3.1-3

11 years agospeedup restore on glusterfs (do not write zero bytes)
Dietmar Maurer [Tue, 17 Sep 2013 07:12:07 +0000 (09:12 +0200)]
speedup restore on glusterfs (do not write zero bytes)

11 years agoadd reference to git version
Dietmar Maurer [Thu, 5 Sep 2013 11:05:47 +0000 (13:05 +0200)]
add reference to git version

11 years agobump version to 3.1-2
Dietmar Maurer [Thu, 5 Sep 2013 05:48:58 +0000 (07:48 +0200)]
bump version to 3.1-2

11 years agowhitespace cleanups
Dietmar Maurer [Thu, 5 Sep 2013 05:44:52 +0000 (07:44 +0200)]
whitespace cleanups

11 years agoAllow VMAdmin to delete disk with Datastore.AllocateSpace permissions
Dietmar Maurer [Thu, 5 Sep 2013 05:41:40 +0000 (07:41 +0200)]
Allow VMAdmin to delete disk with Datastore.AllocateSpace permissions

Previosly, a VMAdmin/DatastoreUser was able to add/create new disks, but
unable to remove them.

11 years agovncproxy API: avoid warning about uninitialize value
Dietmar Maurer [Wed, 28 Aug 2013 09:31:31 +0000 (11:31 +0200)]
vncproxy API: avoid warning about uninitialize value

11 years agofix typo - s/parallel/parport/
Dietmar Maurer [Wed, 14 Aug 2013 13:55:01 +0000 (15:55 +0200)]
fix typo - s/parallel/parport/

11 years agouse tty chardev for usb-to-parallel
Dietmar Maurer [Wed, 14 Aug 2013 12:22:24 +0000 (14:22 +0200)]
use tty chardev for usb-to-parallel

11 years agobump version to 3.1-1
Dietmar Maurer [Wed, 14 Aug 2013 10:21:22 +0000 (12:21 +0200)]
bump version to 3.1-1

11 years agoallow to use usb parallel ports
Dietmar Maurer [Wed, 14 Aug 2013 10:18:54 +0000 (12:18 +0200)]
allow to use usb parallel ports

11 years agoavoid another compile warning
Dietmar Maurer [Mon, 12 Aug 2013 07:53:02 +0000 (09:53 +0200)]
avoid another compile warning

11 years agobump version to 3.0-30
Dietmar Maurer [Mon, 12 Aug 2013 07:49:54 +0000 (09:49 +0200)]
bump version to 3.0-30

11 years agofix migration port (wrong quote)
Dietmar Maurer [Mon, 12 Aug 2013 07:48:13 +0000 (09:48 +0200)]
fix migration port (wrong quote)

11 years agofix warning about uninitialized value
Dietmar Maurer [Mon, 12 Aug 2013 07:47:02 +0000 (09:47 +0200)]
fix warning about uninitialized value

11 years agobump version to 3.0-29
Dietmar Maurer [Tue, 6 Aug 2013 06:16:31 +0000 (08:16 +0200)]
bump version to 3.0-29

11 years agoload config from correct node
Dietmar Maurer [Tue, 6 Aug 2013 06:15:14 +0000 (08:15 +0200)]
load config from correct node

11 years agobump version to 3.0-28
Dietmar Maurer [Fri, 2 Aug 2013 08:06:25 +0000 (10:06 +0200)]
bump version to 3.0-28

11 years agoadd ability to run without graphic card ('vga: serial[n]')
Dietmar Maurer [Wed, 31 Jul 2013 07:19:36 +0000 (09:19 +0200)]
add ability to run without graphic card ('vga: serial[n]')

11 years agoimprove API docu
Dietmar Maurer [Wed, 31 Jul 2013 05:41:24 +0000 (07:41 +0200)]
improve API docu

11 years agoimplement 'qm terminal' to open terminal via serial device
Dietmar Maurer [Wed, 31 Jul 2013 05:37:09 +0000 (07:37 +0200)]
implement 'qm terminal' to open terminal via serial device

11 years agoallow to use a socket for serial devices
Dietmar Maurer [Wed, 31 Jul 2013 04:58:26 +0000 (06:58 +0200)]
allow to use a socket for serial devices

11 years agobump version to 3.0-27
Dietmar Maurer [Fri, 26 Jul 2013 09:25:02 +0000 (11:25 +0200)]
bump version to 3.0-27

11 years agoqemu-server: add support for unsecure migration (setting in datacenter.cfg)
Stefan Priebe [Fri, 26 Jul 2013 09:22:58 +0000 (11:22 +0200)]
qemu-server: add support for unsecure migration (setting in datacenter.cfg)

This patch adds support for unsecure migration using a direct tcp connection
KVM <=> KVM instead of an extra SSH tunnel. Without ssh the limit is just the
bandwith and no longer the CPU / one single core.

You can enable this by adding:
migration_unsecure: 1
to datacenter.cfg

Examples using qemu 1.4 as migration with qemu 1.3 still does not work for me:

current default with SSH Tunnel VM uses 2GB mem:
Dec 27 21:10:32 starting migration of VM 105 to node 'cloud1-1202' (10.255.0.20)
Dec 27 21:10:32 copying disk images
Dec 27 21:10:32 starting VM 105 on remote node 'cloud1-1202'
Dec 27 21:10:35 starting ssh migration tunnel
Dec 27 21:10:36 starting online/live migration on localhost:60000
Dec 27 21:10:36 migrate_set_speed: 8589934592
Dec 27 21:10:36 migrate_set_downtime: 1
Dec 27 21:10:38 migration status: active (transferred 152481002, remaining 1938546688), total 2156396544) , expected downtime 0
Dec 27 21:10:40 migration status: active (transferred 279836995, remaining 1811140608), total 2156396544) , expected downtime 0
Dec 27 21:10:42 migration status: active (transferred 421265271, remaining 1669840896), total 2156396544) , expected downtime 0
Dec 27 21:10:44 migration status: active (transferred 570987974, remaining 1520152576), total 2156396544) , expected downtime 0
Dec 27 21:10:46 migration status: active (transferred 721469404, remaining 1369939968), total 2156396544) , expected downtime 0
Dec 27 21:10:48 migration status: active (transferred 875595258, remaining 1216057344), total 2156396544) , expected downtime 0
Dec 27 21:10:50 migration status: active (transferred 1034654822, remaining 1056931840), total 2156396544) , expected downtime 0
Dec 27 21:10:54 migration status: active (transferred 1176288424, remaining 915369984), total 2156396544) , expected downtime 0
Dec 27 21:10:56 migration status: active (transferred 1339734759, remaining 752050176), total 2156396544) , expected downtime 0
Dec 27 21:10:58 migration status: active (transferred 1503743261, remaining 588206080), total 2156396544) , expected downtime 0
Dec 27 21:11:02 migration status: active (transferred 1645097827, remaining 446906368), total 2156396544) , expected downtime 0
Dec 27 21:11:04 migration status: active (transferred 1810562934, remaining 281751552), total 2156396544) , expected downtime 0
Dec 27 21:11:06 migration status: active (transferred 1964377505, remaining 126033920), total 2156396544) , expected downtime 0
Dec 27 21:11:08 migration status: active (transferred 2077930417, remaining 0), total 2156396544) , expected downtime 0
Dec 27 21:11:09 migration speed: 62.06 MB/s - downtime 37 ms
Dec 27 21:11:09 migration status: completed
Dec 27 21:11:13 migration finished successfuly (duration 00:00:41)
TASK OK

with unsecure migration without SSH Tunnel:
Dec 27 22:43:14 starting migration of VM 105 to node 'cloud1-1203' (10.255.0.22)
Dec 27 22:43:14 copying disk images
Dec 27 22:43:14 starting VM 105 on remote node 'cloud1-1203'
Dec 27 22:43:17 starting online/live migration on 10.255.0.22:60000
Dec 27 22:43:17 migrate_set_speed: 8589934592
Dec 27 22:43:17 migrate_set_downtime: 1
Dec 27 22:43:19 migration speed: 1024.00 MB/s - downtime 1100 ms
Dec 27 22:43:19 migration status: completed
Dec 27 22:43:22 migration finished successfuly (duration 00:00:09)
TASK OK

11 years agouse STDIN to pass spice ticket
Dietmar Maurer [Wed, 24 Jul 2013 10:13:16 +0000 (12:13 +0200)]
use STDIN to pass spice ticket

11 years agonew vga_conf_has_spice() helper
Dietmar Maurer [Wed, 24 Jul 2013 09:42:48 +0000 (11:42 +0200)]
new vga_conf_has_spice() helper

code cleanups

11 years agoreturn spice_port from config_to_command()
Dietmar Maurer [Wed, 24 Jul 2013 09:24:20 +0000 (11:24 +0200)]
return spice_port from config_to_command()

That way we do not need to run qmp command to get the port.
Set spice ticket expire time to 30 (5 seconds seems a bit too short).
Coding style cleanups.

11 years agoadd spice migration
Alexandre Derumier [Wed, 24 Jul 2013 07:52:33 +0000 (09:52 +0200)]
add spice migration

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agoadd read_x509_subject_spice
Alexandre Derumier [Tue, 23 Jul 2013 10:40:02 +0000 (12:40 +0200)]
add read_x509_subject_spice

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agobump version to 3.0-26
Dietmar Maurer [Tue, 23 Jul 2013 08:11:10 +0000 (10:11 +0200)]
bump version to 3.0-26

11 years agoremove spice cert paths
Dietmar Maurer [Tue, 23 Jul 2013 08:05:36 +0000 (10:05 +0200)]
remove spice cert paths

And depend on pve-qemu-kvm (>= 1.4-16), which automatically uses the correct
certs by default.

11 years agodisable tablet for spice
Dietmar Maurer [Fri, 19 Jul 2013 07:53:44 +0000 (09:53 +0200)]
disable tablet for spice

11 years agobump version to 3.0-25
Dietmar Maurer [Fri, 19 Jul 2013 07:38:56 +0000 (09:38 +0200)]
bump version to 3.0-25

11 years agosupport usb redirection for spice
Dietmar Maurer [Fri, 19 Jul 2013 07:37:04 +0000 (09:37 +0200)]
support usb redirection for spice

11 years agofix docu
Dietmar Maurer [Thu, 18 Jul 2013 06:29:12 +0000 (08:29 +0200)]
fix docu

11 years agobump version to 3.0-24
Dietmar Maurer [Thu, 18 Jul 2013 06:15:21 +0000 (08:15 +0200)]
bump version to 3.0-24

11 years agospiceproxy: allow client to choose proxy address
Dietmar Maurer [Thu, 18 Jul 2013 06:00:03 +0000 (08:00 +0200)]
spiceproxy: allow client to choose proxy address

11 years agospice: read cert subject name directly using Net::SSLeay
Dietmar Maurer [Thu, 18 Jul 2013 05:28:35 +0000 (07:28 +0200)]
spice: read cert subject name directly using Net::SSLeay

We now depend on libnet-ssleay-perl

11 years agospice: use TLS
Dietmar Maurer [Wed, 17 Jul 2013 09:33:02 +0000 (11:33 +0200)]
spice: use TLS

we now use a local tcp port instead of a unix socket, because that is
implemented and works with current spice libraries.

11 years agobump version to 3.0-23
Dietmar Maurer [Tue, 16 Jul 2013 04:50:34 +0000 (06:50 +0200)]
bump version to 3.0-23

11 years agocorrectly return and use device type in scsi_inquiry
Dietmar Maurer [Mon, 15 Jul 2013 11:19:54 +0000 (13:19 +0200)]
correctly return and use device type in scsi_inquiry

11 years agofix scsi inquiry command
Dietmar Maurer [Mon, 15 Jul 2013 11:12:18 +0000 (13:12 +0200)]
fix scsi inquiry command

I got wrong results if command is longer than 6 bytes.

11 years agofix coding style
Dietmar Maurer [Mon, 15 Jul 2013 11:11:28 +0000 (13:11 +0200)]
fix coding style

11 years agobump version to 3.0-22
Dietmar Maurer [Mon, 15 Jul 2013 07:13:31 +0000 (09:13 +0200)]
bump version to 3.0-22

and delete trailing white spaces

11 years agoadd hyper-v enlightments for windows guests
Alexandre Derumier [Mon, 15 Jul 2013 06:51:37 +0000 (08:51 +0200)]
add hyper-v enlightments for windows guests

This add special hyper-v cpu flags for windows guests.

This improve performance and avoid some bsod related to timer.

(I currently disable the hv_vapic flag because I can't get it working).

I have tested all theses flags with: win2003, win2008R2, winxp, linux debian 64bit, on intel and amd physicals processor

It doesn't break live migration, because new cpu flags are not see by guests until a vm reset.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agoadd +sep cpuflags to kvm32 && kvm64 cpu models
Alexandre Derumier [Mon, 15 Jul 2013 06:51:36 +0000 (08:51 +0200)]
add +sep cpuflags to kvm32 && kvm64 cpu models

Need for win8 boot.

This flag was missing from rhel < 6.4 host kernel. It's ok now.
But it's also missing from kvm64 model. (It's exist in other cpu models, amd or intel).
So it's pretty safe to enable it.
If the host kernel is older, qemu filter the flag.

This also improve performance of winxp && win7 32 bits guests.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agoenable x2apic by default for kvm machines
Alexandre Derumier [Mon, 15 Jul 2013 06:51:35 +0000 (08:51 +0200)]
enable x2apic by default for kvm machines

This reduce context switch with multicore guests.

Even if the host cpu don't have x2apic, it's working because qemu have an virtual x2apic implementation for guest.
We need  in-kernel irqchip support for this, which is enable for kvm guest since qemu 1.3.
(I don't enable it if nokvm param is set)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
11 years agospiceproxy: set delete-this-file
Dietmar Maurer [Thu, 27 Jun 2013 07:28:13 +0000 (09:28 +0200)]
spiceproxy: set delete-this-file