]>
git.proxmox.com Git - qemu-server.git/log
Dietmar Maurer [Wed, 25 Jun 2014 07:31:59 +0000 (09:31 +0200)]
bump version to 3.1-22
Alexandre Derumier [Mon, 23 Jun 2014 15:41:55 +0000 (17:41 +0200)]
add pci multifunction unbind support
we need to unbind each functions of a multifunction pci device
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 23 Jun 2014 15:41:54 +0000 (17:41 +0200)]
add pci multifunction support
multifunction device should be define without the .function
hostpci0: 00:00
example
-------
if 00:00.0
00:00.1
00:00.2
exists,
then we generate the multifunction devices
-device (pci-assign|vfio-pci),host=00:00.0,id=hostpci0.0,bus=...,addr=0x0.0,multifunction=on
-device (pci-assign|vfio-pci),host=00:00.1,id=hostpci0.1,bus=...,addr=0x0.1
-device (pci-assign|vfio-pci),host=00:00.2,id=hostpci0.2,bus=...,addr=0x0.2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 23 Jun 2014 15:41:53 +0000 (17:41 +0200)]
add pcie and x-vga passthrough
hostpci0: .....,x-vga=on,pcie=1
x-vga require kernel 3.10 with vfio-vga support enable
if x-vga=on, we force vfio-pci device
pcie=1 choose the pciexpress bus (need q35 machine model)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 25 Jun 2014 05:20:23 +0000 (07:20 +0200)]
vncproxy: add check if VM is running
To provide better eror message for console task.
Dietmar Maurer [Tue, 24 Jun 2014 15:43:54 +0000 (17:43 +0200)]
bump version to 3.1-21
Dietmar Maurer [Tue, 24 Jun 2014 14:10:30 +0000 (16:10 +0200)]
protect websocket API with vncticket
Dietmar Maurer [Tue, 24 Jun 2014 05:44:17 +0000 (07:44 +0200)]
fix a typo
Dietmar Maurer [Wed, 18 Jun 2014 10:46:02 +0000 (12:46 +0200)]
bump version to 3.1-20
Dietmar Maurer [Wed, 18 Jun 2014 10:44:46 +0000 (12:44 +0200)]
vncwebsocket: do not proxy connection
Dietmar Maurer [Wed, 18 Jun 2014 09:05:05 +0000 (11:05 +0200)]
bump version to 3.1-19
Dietmar Maurer [Wed, 18 Jun 2014 09:02:57 +0000 (11:02 +0200)]
do not use novnc wsproxy
Instead, we use new HTTPServer features.
Stefan Priebe [Thu, 13 Feb 2014 20:12:29 +0000 (21:12 +0100)]
added support for vfio-pci passthrough
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Wed, 18 Jun 2014 04:54:45 +0000 (06:54 +0200)]
cleanup previous patch
Alexandre Derumier [Mon, 26 May 2014 07:49:56 +0000 (09:49 +0200)]
enable q35 machine support
q35 use pcie.0 root by default. so currently we can't start machine model q35.
we need to add 3 pci-bridge pci.0, pci.1, pci.2, to handle our devices.
pcie.0 does not support hotplug. so pci-bridge are defined at startup.
I use an pve-q35.cfg (mostly the same than q35-chipset.cfg from qemu docs).
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 17 Jun 2014 07:00:24 +0000 (09:00 +0200)]
bump version to 3.1-18
Alexandre Derumier [Tue, 17 Jun 2014 05:44:05 +0000 (07:44 +0200)]
migration : add setup state
since qemu 1.5, they are a new migration state : "setup"
it's mainly use for rdma migration, but slow vm can it see and hang on migration
http://git.qemu.org/?p=qemu.git;a=commit;h=
3b6959506831193f37cc830c8e111b437c0d1380
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 17 Jun 2014 06:54:23 +0000 (08:54 +0200)]
depend on novnc-pve
Dietmar Maurer [Tue, 17 Jun 2014 06:02:43 +0000 (08:02 +0200)]
cleanup VNC websocket patch
Pass ticket via ENV{LC_PVE_TICKET} to vncproxy. Also remove 'unsecure' option, because
this is implied if we want a websocket connection.
Stefan Priebe [Tue, 3 Jun 2014 08:22:00 +0000 (10:22 +0200)]
API2/Qemu: add unsecure and websocket options to vncpoxy also set qemu vnc server properties on the fly
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Alexandre Derumier [Tue, 10 Jun 2014 06:30:31 +0000 (08:30 +0200)]
add virtio-net multiqueue support
this a new option queue=(\d+) to net interface
Allow to use more than 1 cpu for network stream, so this can improve network bandwidth,
when vhost-net cpu is the bottleneck
http://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature
-netdev tap,vhost=on,queues=N -device virtio-net-pci,mq=on,vectors=2N+2
host requirement
----------------
this require host kernel >= 3.8 (or qemu die at start)
linux guest requirement
-----------------------
kernel >= 3.8
manual enabling multiqueue
windows guest requierement
--------------------------
recent virtio-net driver
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 17 May 2014 07:14:58 +0000 (09:14 +0200)]
add option iscsi only once
We simply add option iscsi if we have an initiator name. So we
never add this option multiple times, and it works with hotplug
in case someone plugs an 'iscsi:' drive later.
Dietmar Maurer [Sat, 17 May 2014 07:07:18 +0000 (09:07 +0200)]
cleanup previous commit - use IO::File
Michael Rasmussen [Tue, 13 May 2014 01:10:40 +0000 (03:10 +0200)]
add initiator-name to iscsi drives if configured
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Alexandre Derumier [Fri, 9 May 2014 09:18:58 +0000 (11:18 +0200)]
print_net : add firewall option
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 8 May 2014 13:45:25 +0000 (15:45 +0200)]
do not ignore errors on tap_unplug
Alexandre Derumier [Wed, 7 May 2014 08:42:43 +0000 (10:42 +0200)]
add pve-bridgedown script
This allow to delete fwbr bridge, link interfaces, cleanup ovs
when vm is shutdown
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 7 May 2014 08:42:42 +0000 (10:42 +0200)]
add firewall option to qemu network interface
this allow to disable firewall for a specific interface
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 6 May 2014 09:28:42 +0000 (11:28 +0200)]
bump version to 3.1-17
Dietmar Maurer [Tue, 6 May 2014 09:27:10 +0000 (11:27 +0200)]
depend on pve-firewall, add firewall API for VMs
Dietmar Maurer [Thu, 17 Apr 2014 08:37:46 +0000 (10:37 +0200)]
qmrestore: removed short timeout
Dietmar Maurer [Thu, 17 Apr 2014 07:44:27 +0000 (09:44 +0200)]
set RELEASE to 3.2
Dietmar Maurer [Thu, 17 Apr 2014 07:29:46 +0000 (09:29 +0200)]
add linefeed to warn message and add changelog for previous commit
Alexandre Derumier [Mon, 14 Apr 2014 11:52:23 +0000 (13:52 +0200)]
move_disk : don't delete disk if used in a previous snasphot v2
and set it as unused
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Mon, 14 Apr 2014 09:28:31 +0000 (11:28 +0200)]
bump version to 3.1-16
Dietmar Maurer [Mon, 14 Apr 2014 09:21:01 +0000 (11:21 +0200)]
fix bug #502: allow creation of empty vma archives
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.
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>
Dietmar Maurer [Mon, 17 Mar 2014 09:53:15 +0000 (10:53 +0100)]
add depend on libpve-access-control
Dietmar Maurer [Mon, 10 Feb 2014 11:30:08 +0000 (12:30 +0100)]
fix changelog
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>
Dietmar Maurer [Mon, 10 Feb 2014 07:07:06 +0000 (08:07 +0100)]
bump version to 3.1-15
Dietmar Maurer [Mon, 10 Feb 2014 07:03:50 +0000 (08:03 +0100)]
remove unneeded parentheses
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>
Dietmar Maurer [Fri, 31 Jan 2014 05:52:46 +0000 (06:52 +0100)]
add changelog for last commit
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>
Dietmar Maurer [Wed, 29 Jan 2014 05:49:45 +0000 (06:49 +0100)]
bump version to 3.1-14
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.
Dietmar Maurer [Tue, 14 Jan 2014 09:33:36 +0000 (10:33 +0100)]
white space cleanups
Alexandre Derumier [Tue, 7 Jan 2014 12:32:51 +0000 (13:32 +0100)]
add cpu_hotplug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 7 Jan 2014 12:32:50 +0000 (13:32 +0100)]
add maxcpus config
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 10 Jan 2014 12:09:19 +0000 (13:09 +0100)]
cleanup previous commit
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>
Dietmar Maurer [Fri, 13 Dec 2013 10:46:25 +0000 (11:46 +0100)]
bump version to 3.1-13
Dietmar Maurer [Fri, 13 Dec 2013 10:43:05 +0000 (11:43 +0100)]
add more options for pci passthrough
Dietmar Maurer [Tue, 10 Dec 2013 09:49:55 +0000 (10:49 +0100)]
bump version to 3.1-12
Dietmar Maurer [Tue, 10 Dec 2013 09:46:50 +0000 (10:46 +0100)]
code cleanup
Use new helper methods.
Dietmar Maurer [Mon, 9 Dec 2013 12:23:26 +0000 (13:23 +0100)]
use new helper PVE::Tools::next_spice_port()
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)
Dietmar Maurer [Thu, 5 Dec 2013 05:36:00 +0000 (06:36 +0100)]
add changelog entry for last commit
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>
Dietmar Maurer [Wed, 4 Dec 2013 08:11:36 +0000 (09:11 +0100)]
add 'lsi53c810' to the list of scsi controllers
Dietmar Maurer [Wed, 4 Dec 2013 07:42:51 +0000 (08:42 +0100)]
add drive option 'discard'
Dietmar Maurer [Wed, 4 Dec 2013 06:36:11 +0000 (07:36 +0100)]
add vmxnet3 to list of available network card models
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.
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'
Dietmar Maurer [Tue, 3 Dec 2013 09:49:11 +0000 (10:49 +0100)]
depend on pve-qemu-kvm >= 1.7-1
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>
Dietmar Maurer [Fri, 29 Nov 2013 08:18:59 +0000 (09:18 +0100)]
bump version to 3.1-10
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>
Dietmar Maurer [Tue, 26 Nov 2013 06:37:18 +0000 (07:37 +0100)]
allow to migrate VMs using SPICE usb redirection
Dietmar Maurer [Wed, 20 Nov 2013 05:54:06 +0000 (06:54 +0100)]
include sendkey in directory index
Dietmar Maurer [Tue, 19 Nov 2013 07:17:58 +0000 (08:17 +0100)]
bump version to 3.1-9
Dietmar Maurer [Tue, 19 Nov 2013 07:15:54 +0000 (08:15 +0100)]
deactivate volumes after clone to other node
Dietmar Maurer [Mon, 14 Oct 2013 05:36:47 +0000 (07:36 +0200)]
bump version to 3.1-8
Dietmar Maurer [Mon, 14 Oct 2013 05:35:04 +0000 (07:35 +0200)]
correcctly check if option is a drive
Dietmar Maurer [Wed, 2 Oct 2013 07:13:59 +0000 (09:13 +0200)]
bump version to 3.1-7
Dietmar Maurer [Wed, 2 Oct 2013 07:11:57 +0000 (09:11 +0200)]
cleanup spice code
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>
Dietmar Maurer [Tue, 1 Oct 2013 11:14:49 +0000 (13:14 +0200)]
use warnings instead of global -w flag
Dietmar Maurer [Tue, 1 Oct 2013 10:42:51 +0000 (12:42 +0200)]
bump version to 3.1-6
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.
Dietmar Maurer [Tue, 24 Sep 2013 04:55:40 +0000 (06:55 +0200)]
bump version to 3.1-5
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>
Dietmar Maurer [Thu, 19 Sep 2013 04:29:57 +0000 (06:29 +0200)]
bump version to 3.1-4
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>
Dietmar Maurer [Tue, 17 Sep 2013 07:13:41 +0000 (09:13 +0200)]
bump version to 3.1-3
Dietmar Maurer [Tue, 17 Sep 2013 07:12:07 +0000 (09:12 +0200)]
speedup restore on glusterfs (do not write zero bytes)
Dietmar Maurer [Thu, 5 Sep 2013 11:05:47 +0000 (13:05 +0200)]
add reference to git version
Dietmar Maurer [Thu, 5 Sep 2013 05:48:58 +0000 (07:48 +0200)]
bump version to 3.1-2
Dietmar Maurer [Thu, 5 Sep 2013 05:44:52 +0000 (07:44 +0200)]
whitespace cleanups
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.
Dietmar Maurer [Wed, 28 Aug 2013 09:31:31 +0000 (11:31 +0200)]
vncproxy API: avoid warning about uninitialize value
Dietmar Maurer [Wed, 14 Aug 2013 13:55:01 +0000 (15:55 +0200)]
fix typo - s/parallel/parport/
Dietmar Maurer [Wed, 14 Aug 2013 12:22:24 +0000 (14:22 +0200)]
use tty chardev for usb-to-parallel
Dietmar Maurer [Wed, 14 Aug 2013 10:21:22 +0000 (12:21 +0200)]
bump version to 3.1-1
Dietmar Maurer [Wed, 14 Aug 2013 10:18:54 +0000 (12:18 +0200)]
allow to use usb parallel ports
Dietmar Maurer [Mon, 12 Aug 2013 07:53:02 +0000 (09:53 +0200)]
avoid another compile warning
Dietmar Maurer [Mon, 12 Aug 2013 07:49:54 +0000 (09:49 +0200)]
bump version to 3.0-30
Dietmar Maurer [Mon, 12 Aug 2013 07:48:13 +0000 (09:48 +0200)]
fix migration port (wrong quote)