]>
git.proxmox.com Git - qemu-server.git/log
Dominik Csapak [Thu, 11 Feb 2016 14:49:09 +0000 (15:49 +0100)]
use better usb config parsing
since we want the usb3 option to be really boolean and not only
'usb3=yes', we have to change the usb json format a little
to not break existing configs for 'usbX: spice', we set the 'host'
option as non-optional and default_key and allow 'spice' as its
content (this also makes the option less ambiguous)
another side effect is that previously accepted multiple 'host='
entries are now forbidden
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 10 Feb 2016 16:49:36 +0000 (17:49 +0100)]
bump version to 4.0-54
Wolfgang Bumiller [Wed, 10 Feb 2016 13:28:19 +0000 (14:28 +0100)]
remove a superfluous condition
This is only reached if the $line from which $virtdev
originates matches, and the part in $virtdev can never be
false then.
Wolfgang Bumiller [Wed, 10 Feb 2016 13:28:18 +0000 (14:28 +0100)]
restore: deal with new backup=0 property string
Dominik Csapak [Wed, 10 Feb 2016 11:52:12 +0000 (12:52 +0100)]
add usb3 option for usb-devices
adding a flag for usb devices (usb3), if this is set to yes,
add a xhci controller and attach the specified devices to it
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 8 Feb 2016 10:53:25 +0000 (11:53 +0100)]
bump version to 4.0-53
Wolfgang Bumiller [Fri, 5 Feb 2016 07:46:35 +0000 (08:46 +0100)]
pass $skiplock all the way through to destroy_vm
The API passes $skiplock to vm_destroy() which performed a
check conditionally depending on the $skiplock parameter and
then simply calls destroy_vm() inside lock_config() which
did yet another check_lock() without any way to avoid that.
Added the $skiplock parameter to destroy_vm() and removed
the conditional check in vm_destroy() as both happened after
locking the config.
Alexandre Derumier [Thu, 4 Feb 2016 15:47:56 +0000 (16:47 +0100)]
disk hotplug : allow hotplug of physical host /dev/ disks
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 2 Feb 2016 17:17:11 +0000 (18:17 +0100)]
bump version to 4.0-52
Wolfgang Link [Tue, 2 Feb 2016 10:53:17 +0000 (11:53 +0100)]
close tunnel after migration is finish.
if we do not close it, there is a change that the tunnel stays open and the next migration will not work.
Wolfgang Bumiller [Fri, 29 Jan 2016 09:08:08 +0000 (10:08 +0100)]
detect_zeroes is a boolean
Dietmar Maurer [Fri, 29 Jan 2016 09:04:55 +0000 (10:04 +0100)]
bump version to 4.0-51
Wolfgang Bumiller [Fri, 29 Jan 2016 07:58:59 +0000 (08:58 +0100)]
Fix #878: disk-size format
disk-size is a format, not a type
Wolfgang Bumiller [Fri, 29 Jan 2016 07:47:21 +0000 (08:47 +0100)]
Fix #879: exclusion of disk for backup
With the change to a property string the backup and iothread
properties were changed from type string to type boolean and
need to be treated as such.
Wolfgang Link [Thu, 28 Jan 2016 08:00:41 +0000 (09:00 +0100)]
Create firewall dir on VM restore
Dietmar Maurer [Wed, 27 Jan 2016 16:09:58 +0000 (17:09 +0100)]
update changelog
Thomas Lamprecht [Wed, 27 Jan 2016 13:25:47 +0000 (14:25 +0100)]
fix PVE::HA use clause so HA resources get registered
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 26 Jan 2016 15:58:24 +0000 (16:58 +0100)]
bump version to 4.0-50
Wolfgang Bumiller [Tue, 26 Jan 2016 09:16:08 +0000 (10:16 +0100)]
add hidden option to cpu type
This passes kvm=off to qemu's -cpu switch to disable KVM
identification via the cpuid instruction.
Dietmar Maurer [Tue, 26 Jan 2016 11:50:35 +0000 (12:50 +0100)]
update version
Wolfgang Link [Mon, 25 Jan 2016 14:13:36 +0000 (15:13 +0100)]
Use format raw if a disk is passthrough to VM.
To prevent error at VM starting, when we passthrough a harddrive from host to vm.
Dietmar Maurer [Fri, 22 Jan 2016 10:54:34 +0000 (11:54 +0100)]
clone: correctly activate volumes (consider snapshots)
Dietmar Maurer [Mon, 18 Jan 2016 15:58:42 +0000 (16:58 +0100)]
bump version to 4.0-48
Wolfgang Bumiller [Mon, 18 Jan 2016 08:09:05 +0000 (09:09 +0100)]
use safe_string_ne for trunks
It's a list of numbers, not just one.
Dietmar Maurer [Fri, 15 Jan 2016 16:27:49 +0000 (17:27 +0100)]
bump version to 4.0-47
Alexandre Derumier [Fri, 15 Jan 2016 02:15:35 +0000 (03:15 +0100)]
add support for network trunks
This add support for net trunks vlan filtering
for ovs and linux vlan-aware bridge
Can be mixed with current "tag" option
examples:
----------
allow only 802.1Q packets with vlanid 2,3,4 :
netx: .....,trunks=2,3,4
allow only 802.1Q packets with vlanid 2,3,4 and tag non-802.1Q packets to vlanid 5 :
netx: tag=5,trunks=2,3,4
tag non-802.1Q packets to vlanid 5
netx: tag=5
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Thu, 14 Jan 2016 12:33:56 +0000 (13:33 +0100)]
use property strings for drive options
Wolfgang Bumiller [Thu, 14 Jan 2016 12:33:55 +0000 (13:33 +0100)]
use property string for smbios1
Dietmar Maurer [Wed, 13 Jan 2016 15:42:24 +0000 (16:42 +0100)]
bump version to 4.0-46
Wolfgang Bumiller [Wed, 13 Jan 2016 13:06:15 +0000 (14:06 +0100)]
Closes #787: add Haswell-noTSX and Broadwell-noTSX cpu types
Dietmar Maurer [Wed, 13 Jan 2016 05:18:12 +0000 (06:18 +0100)]
bump version to 4.0-45
Wolfgang Bumiller [Mon, 11 Jan 2016 12:27:46 +0000 (13:27 +0100)]
io throttle: pass pool parameters (*_max)
These have been passed but haven't been used.
Dietmar Maurer [Sun, 10 Jan 2016 14:12:13 +0000 (15:12 +0100)]
bump version to 4.0-44
Alexandre Derumier [Sat, 9 Jan 2016 06:27:35 +0000 (07:27 +0100)]
ovmf : don't pass x-vga to vfio-pci
x-vga vfio-pci flag is to enable seabios quirks only.
This patch keep using x-vga=on from proxmox config, to disable hyperv,kvm=off,vga=none by default
but don't pass x-vga to vfio-pci when ovmf is enabled.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Fri, 8 Jan 2016 13:32:49 +0000 (14:32 +0100)]
check for qorum when starting a VM
Dietmar Maurer [Mon, 4 Jan 2016 05:26:50 +0000 (06:26 +0100)]
bump version to 4.0-43
Alexandre Derumier [Sun, 3 Jan 2016 18:05:31 +0000 (19:05 +0100)]
disable hyper-v enlightment when xvga is enabled
Geforce drivers (> 344.11) crash with code43 error if they detect hyper-v enlighment with pci passtthrough
http://awilliam.github.io/presentations/KVM-Forum-2014/#/5/3
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 19 Dec 2015 08:16:33 +0000 (09:16 +0100)]
cleanup: remove all generated .bash-completion files
Dietmar Maurer [Fri, 18 Dec 2015 08:20:32 +0000 (09:20 +0100)]
bump version to 4.0-42
Wolfgang Bumiller [Thu, 17 Dec 2015 13:58:12 +0000 (14:58 +0100)]
add detect_zeroes option
On some storages BLKZEROOUT commands do not work properly
and return without error while having no effect whatsoever.
This can produce various filesystem errors and thus needs
to be made optional.
A drive can now have 'detect_zeroes=off' to disable this
behavior. By default the behavior is the same as before:
always-on (and set to 'unmap' if discard is enabled).
Wolfgang Bumiller [Thu, 10 Dec 2015 11:07:39 +0000 (12:07 +0100)]
fix bug #841: replace get_used_paths with is_volume_in_use
get_used_paths returned a hash of used paths for all the
volumes in a VM's config, which is not enough to figure out
whether there are snapshots, as snapshots often have
different paths. Eg. on ZFS it is not enough to check for
/dev/zvol/tank/vm-123-disk-1 because the snapshot's path is
/dev/zvol/tank/vm-123-disk-1@snap1 and thus we allowed
deleting the drive. Then when trying to delete the snapshot
later you get:
zfs error: cannot open 'tank/vm-751-disk-1': dataset does not exist
and it refuses to delete the snapshot.
Since its only use was to check whether or not a drive is
still in use it is now renamed to is_volume_in_use and
beside checking paths now also checks volume-ids as those
should stay the same.
Dietmar Maurer [Thu, 10 Dec 2015 10:15:58 +0000 (11:15 +0100)]
bump version to 4.0-41
Dietmar Maurer [Thu, 10 Dec 2015 10:11:02 +0000 (11:11 +0100)]
always copy OVMF_VARS-pure-efi.fd file
To avoid the impression that we can store BIOS settings. They also
gets lost when we migrate the VM.
Dietmar Maurer [Thu, 10 Dec 2015 09:48:04 +0000 (10:48 +0100)]
introcude new 'bios' option (replace ovmf option)
Alexandre Derumier [Sat, 21 Nov 2015 07:48:59 +0000 (08:48 +0100)]
add ovmf uefi roms support V2
changelog:
use OVMF-pure-efi.fd instead OVMF_CODE-pure-efi.fd to have virtio drivers support
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 9 Dec 2015 11:22:43 +0000 (12:22 +0100)]
bump version to 4.0-40
Thomas Lamprecht [Wed, 9 Dec 2015 10:40:34 +0000 (11:40 +0100)]
qm: Add VMID auto completion to some commands
Add the respective completion function for the:
*) start
*) stop
*) shutdown
*) suspend
*) resume
*) sendkey
qm commands. The destroy command was left out on purpose for now.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Fri, 27 Nov 2015 11:46:40 +0000 (12:46 +0100)]
fix bug #828: activate disks before hotplugging them
Dietmar Maurer [Thu, 26 Nov 2015 10:51:08 +0000 (11:51 +0100)]
update changelog
Wolfgang Link [Wed, 25 Nov 2015 09:20:04 +0000 (10:20 +0100)]
restore firewall config from backup
Wolfgang Link [Wed, 25 Nov 2015 09:20:05 +0000 (10:20 +0100)]
firewall config will now include in the backup and write to vma file.
Dietmar Maurer [Thu, 26 Nov 2015 08:19:51 +0000 (09:19 +0100)]
update changelog
Alexandre Derumier [Tue, 24 Nov 2015 13:49:30 +0000 (14:49 +0100)]
reenable steal time
we have fixed it in kernel last month
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg14072.html
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 24 Nov 2015 15:50:43 +0000 (16:50 +0100)]
bump version to 4.0-39
Dietmar Maurer [Tue, 24 Nov 2015 15:48:47 +0000 (16:48 +0100)]
fix bug #783: set KillMode=none, so that systemd don't kill them at shutdown
Wolfgang Bumiller [Fri, 13 Nov 2015 15:16:01 +0000 (16:16 +0100)]
pve-bridge-hotplug code deduplication
Dietmar Maurer [Fri, 13 Nov 2015 06:02:35 +0000 (07:02 +0100)]
bump version to 4.0-38
Emmanuel Kasper [Mon, 9 Nov 2015 10:32:02 +0000 (11:32 +0100)]
Don't treat serial devices as a local resource if they point to a socket.
Close: https://bugzilla.proxmox.com/show_bug.cgi?id=470
Dietmar Maurer [Thu, 12 Nov 2015 10:16:50 +0000 (11:16 +0100)]
qemu_img_convert: activate source volume
For example, this is required if we copy from lvmthin snapshots.
Wolfgang Link [Mon, 9 Nov 2015 10:11:47 +0000 (11:11 +0100)]
improve complete_storage, only show storages which have the capability to run qemu images.
Dietmar Maurer [Sat, 7 Nov 2015 11:09:01 +0000 (12:09 +0100)]
destroy VM: test for running VM before starting background task
Dietmar Maurer [Fri, 6 Nov 2015 15:25:19 +0000 (16:25 +0100)]
bump version to 4.0.37
Alexandre Derumier [Fri, 6 Nov 2015 14:05:59 +0000 (15:05 +0100)]
add pve-bridge-hotplug script
use it for nic hotplug, because pve-bridge script will
not work after a live migration, because of the PVE_MIGRATED_FROM env var.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:06 +0000 (10:27 +0100)]
nic hotplug : use pxe roms for older machinetype
we want to avoid mix some nics with pxe rom and other with efi rom.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:05 +0000 (10:27 +0100)]
add qemu_use_old_bios_files sub
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:04 +0000 (10:27 +0100)]
add qemu_machine_pxe
return machinename with .pxe suffix if a nic with pxe romfile exist
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 6 Nov 2015 06:56:27 +0000 (07:56 +0100)]
bump version to 4.0-36
Alexandre Derumier [Thu, 5 Nov 2015 18:43:10 +0000 (19:43 +0100)]
use qom-get to check if pxe file are used V2
fix qemu 2.4 pxe -> qemu 2.4 efi
Changelog : forget to add a check on qom-get result
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Thu, 5 Nov 2015 13:09:16 +0000 (14:09 +0100)]
migration: improve ipv6 case
Qemu parses hostnames in brackets correctly but sets an ipv6
flag for them as if they were ipv6 addresses, only insert
brackets for ipv6 addresses.
Dietmar Maurer [Fri, 30 Oct 2015 06:07:08 +0000 (07:07 +0100)]
bump version to 4.0-35
Wolfgang Bumiller [Thu, 29 Oct 2015 14:02:35 +0000 (15:02 +0100)]
clone: use a fullclone hash instead of $drive->{full}
'full' is not a valid drive property which are now being
checked in print_property_string. Since it's only a
temporary value and passed to clone_disk as parameter it
can be stored separately.
Dietmar Maurer [Thu, 29 Oct 2015 16:46:12 +0000 (17:46 +0100)]
bump version to 4.0-34
Dietmar Maurer [Thu, 29 Oct 2015 16:44:17 +0000 (17:44 +0100)]
Revert "fix bug 790: encode description before writing to syslog"
This reverts commit
9ac5db408db2dc2380add3090bdd9e04f97e576c .
This is now fixed by a change in PVE::Cluster::log_msg().
Dietmar Maurer [Thu, 29 Oct 2015 09:51:54 +0000 (10:51 +0100)]
update changelog
Dietmar Maurer [Thu, 29 Oct 2015 09:49:08 +0000 (10:49 +0100)]
fix bug 790: encode description before writing to syslog
Dietmar Maurer [Thu, 29 Oct 2015 06:38:31 +0000 (07:38 +0100)]
bump version to 4.0-33
Dietmar Maurer [Thu, 29 Oct 2015 06:37:00 +0000 (07:37 +0100)]
simplify code: consistently use old bios files for older machine types
Emmanuel Kasper [Tue, 27 Oct 2015 13:25:36 +0000 (14:25 +0100)]
Don't create unused empty /etc/qemu-server directory
Dietmar Maurer [Wed, 28 Oct 2015 08:08:58 +0000 (09:08 +0100)]
bump version to 4.0-32
Dietmar Maurer [Fri, 23 Oct 2015 08:41:53 +0000 (10:41 +0200)]
use old netdevice bios files for older machine types
Dietmar Maurer [Thu, 15 Oct 2015 10:42:05 +0000 (12:42 +0200)]
bump version to 4.0-31
Alexandre Derumier [Wed, 14 Oct 2015 09:06:06 +0000 (11:06 +0200)]
migrate : add nocheck for resume
Users have reported resume bug when HA is used.
They seem to have a little race (bench show >0s < 1s) between the vm conf file move on source node and replication to,
and resume on target node.
I don't known why this is only with HA, maybe this occur will standard migration too.
Anyway, we don't need to read the vm config file to resume the vm on target host,
as we are sure that the vm is migrated, and config file move action is correct in the cluster.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Mon, 5 Oct 2015 11:13:24 +0000 (13:13 +0200)]
bump version to 4.0-30
Dietmar Maurer [Mon, 5 Oct 2015 11:10:24 +0000 (13:10 +0200)]
convert qmrestore into a PVE::CLI class
and install bash completion helpers.
Dietmar Maurer [Mon, 5 Oct 2015 10:43:07 +0000 (12:43 +0200)]
create: add better check for unused IDs
Dietmar Maurer [Wed, 30 Sep 2015 08:56:53 +0000 (10:56 +0200)]
bump version to 4.0-29
Wolfgang Bumiller [Wed, 30 Sep 2015 08:23:27 +0000 (10:23 +0200)]
support serial numbers and models for disks
Note that the model is only supported for IDE harddisks via
the -device option, whereas the serial is part of the -drive
option.
Closes #153
Dietmar Maurer [Tue, 29 Sep 2015 05:15:07 +0000 (07:15 +0200)]
bump version to 4.0-28
Alexandre Derumier [Mon, 28 Sep 2015 07:56:34 +0000 (09:56 +0200)]
disable kvm_steal_time
It's currently buggy with live migration
https://bugs.launchpad.net/qemu/+bug/
1494350
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 26 Sep 2015 09:07:48 +0000 (11:07 +0200)]
bump version to 4.0-27
Alen Grizonic [Tue, 22 Sep 2015 08:57:40 +0000 (10:57 +0200)]
boot order permissions change
to change to boot order it is needed to assign a user the
VM.Config.Disk privilege set with the add/modify/delete disk
permissions -> now the patch allows the boot order to be (re)defined
with the VM.Config.Options set - the modify any other VM configuration
Dietmar Maurer [Fri, 25 Sep 2015 16:00:03 +0000 (18:00 +0200)]
bump version to 4.0-26
Alexandre Derumier [Fri, 25 Sep 2015 11:50:37 +0000 (13:50 +0200)]
migration: disable compress
it's already disable by default,
but we want to be sure if it's change in later release
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 25 Sep 2015 11:50:36 +0000 (13:50 +0200)]
enable xbzrle
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 23 Sep 2015 09:48:41 +0000 (11:48 +0200)]
fix kvm version parser for CVE stable releases, bump version to 4.0-25
Dietmar Maurer [Mon, 21 Sep 2015 10:28:34 +0000 (12:28 +0200)]
bump version to 4.0-24
Alen Grizonic [Fri, 18 Sep 2015 09:34:08 +0000 (11:34 +0200)]
VM protection mode
[PATCH v2] changes:
- changed call also for remove VM
Alexandre Derumier [Sun, 20 Sep 2015 17:23:23 +0000 (19:23 +0200)]
pci passthough : make vfio default
and remove old legacy code.
(deprecated and disabled by default since kernel 4.2)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 17 Sep 2015 11:10:19 +0000 (13:10 +0200)]
code cleanups
Alen Grizonic [Thu, 17 Sep 2015 10:11:59 +0000 (12:11 +0200)]
VM protection mode
changes:
- added common check_protection subroutine
- disk removal prevention
- restore over protected VM prevention
- changed man page message