]> git.proxmox.com Git - qemu-server.git/log
qemu-server.git
8 years agoqemu_machine_pxe : return $machine if no pxe
Alexandre Derumier [Mon, 22 Feb 2016 16:15:13 +0000 (17:15 +0100)]
qemu_machine_pxe : return $machine if no pxe

Currently migration is broken, because qemu_machine_pxe return nothing if no pxe rom exist.

That mean that we don't pass -machine flag to migration, and migration is broken between qemu 2.4->2.5

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoMake snapshot_prepare and snapshot_commit proper subs
Fabian Grünbichler [Mon, 22 Feb 2016 13:29:28 +0000 (14:29 +0100)]
Make snapshot_prepare and snapshot_commit proper subs

8 years agobump version to 4.0-58
Dietmar Maurer [Sat, 20 Feb 2016 09:27:02 +0000 (10:27 +0100)]
bump version to 4.0-58

8 years agodeactivate volumes if vm start command fails
Dominik Csapak [Fri, 19 Feb 2016 10:13:01 +0000 (11:13 +0100)]
deactivate volumes if vm start command fails

also for current master
cleanup of patch from Dhaussy Alexandre from 02/15/2016

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.0-57
Dietmar Maurer [Thu, 18 Feb 2016 11:48:26 +0000 (12:48 +0100)]
bump version to 4.0-57

8 years agorename $ost to $ostype
Dietmar Maurer [Thu, 18 Feb 2016 11:54:06 +0000 (12:54 +0100)]
rename $ost to $ostype

8 years agodisable vnc server and add -nographic is no vga card is present
Alexandre Derumier [Thu, 18 Feb 2016 07:14:43 +0000 (08:14 +0100)]
disable vnc server and add -nographic is no vga card is present

For passthrough, we need to be sure that card is primary,
so we need to disable vnc server

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agopassthrough : reenable hyperv and add hv_vendor_id for windows
Alexandre Derumier [Thu, 18 Feb 2016 07:14:42 +0000 (08:14 +0100)]
passthrough : reenable hyperv and add hv_vendor_id for windows

qemu 2.5 support a new hyper-v feature: hv_vendor_id
This allow nvidia drivers to install on windows with hyper-v feature on.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agodelete ram state files when restoring a backup
Dominik Csapak [Tue, 16 Feb 2016 09:05:41 +0000 (10:05 +0100)]
delete ram state files when restoring a backup

currently we leave orphaned vmstate files when we restore a
backup over a vm, which has snapshots with saved ram state.

this patch deletes those files on a restore.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoRefactor snapshot code
Fabian Grünbichler [Mon, 15 Feb 2016 08:52:57 +0000 (09:52 +0100)]
Refactor snapshot code

Split vmstate saving into its own sub in preparation of
LXC/QemuServer codebase refactoring.

8 years agobump version to 4.0-56
Dietmar Maurer [Mon, 15 Feb 2016 11:51:37 +0000 (12:51 +0100)]
bump version to 4.0-56

8 years agoIf we freeze the fs with the Qemu-Guest-Agent test if QGA is running.
Wolfgang Link [Mon, 15 Feb 2016 10:45:56 +0000 (11:45 +0100)]
If we freeze the fs with the Qemu-Guest-Agent test if QGA is running.

8 years agoupdate changelog
Dietmar Maurer [Fri, 12 Feb 2016 11:17:40 +0000 (12:17 +0100)]
update changelog

8 years agoDrop skiplock from write_config
Fabian Grünbichler [Fri, 12 Feb 2016 10:14:41 +0000 (11:14 +0100)]
Drop skiplock from write_config

Since write_config was always called with skiplock=1 except
once, it makes sense to drop this parameter like in
PVE::LXC::write_config . If needed in the future, the
caller can use check_lock before write_config anyway.

8 years agoRefactor update_config_nolock -> write_config
Fabian Grünbichler [Fri, 12 Feb 2016 10:14:40 +0000 (11:14 +0100)]
Refactor update_config_nolock -> write_config

The method update_config wrapped update_config_nolock
using lock_config, but to prevent update races the whole
"read config", "do something", "write config" flow was
always protected by lock_config anyway, and update_config
was never called.

Thus, we can safely drop update_config and rename
update_config_nolock to write_config like in PVE::LXC .

8 years agobump version to 4.0-55
Dietmar Maurer [Fri, 12 Feb 2016 11:08:13 +0000 (12:08 +0100)]
bump version to 4.0-55

8 years agouse better usb config parsing
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>
8 years agobump version to 4.0-54
Dietmar Maurer [Wed, 10 Feb 2016 16:49:36 +0000 (17:49 +0100)]
bump version to 4.0-54

8 years agoremove a superfluous condition
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.

8 years agorestore: deal with new backup=0 property string
Wolfgang Bumiller [Wed, 10 Feb 2016 13:28:18 +0000 (14:28 +0100)]
restore: deal with new backup=0 property string

8 years agoadd usb3 option for usb-devices
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>
8 years agobump version to 4.0-53
Dietmar Maurer [Mon, 8 Feb 2016 10:53:25 +0000 (11:53 +0100)]
bump version to 4.0-53

8 years agopass $skiplock all the way through to destroy_vm
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.

8 years agodisk hotplug : allow hotplug of physical host /dev/ disks
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>
8 years agobump version to 4.0-52
Dietmar Maurer [Tue, 2 Feb 2016 17:17:11 +0000 (18:17 +0100)]
bump version to 4.0-52

8 years agoclose tunnel after migration is finish.
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.

8 years agodetect_zeroes is a boolean
Wolfgang Bumiller [Fri, 29 Jan 2016 09:08:08 +0000 (10:08 +0100)]
detect_zeroes is a boolean

8 years agobump version to 4.0-51
Dietmar Maurer [Fri, 29 Jan 2016 09:04:55 +0000 (10:04 +0100)]
bump version to 4.0-51

8 years agoFix #878: disk-size format
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

8 years agoFix #879: exclusion of disk for backup
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.

8 years agoCreate firewall dir on VM restore
Wolfgang Link [Thu, 28 Jan 2016 08:00:41 +0000 (09:00 +0100)]
Create firewall dir on VM restore

8 years agoupdate changelog
Dietmar Maurer [Wed, 27 Jan 2016 16:09:58 +0000 (17:09 +0100)]
update changelog

8 years agofix PVE::HA use clause so HA resources get registered
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>
8 years agobump version to 4.0-50
Dietmar Maurer [Tue, 26 Jan 2016 15:58:24 +0000 (16:58 +0100)]
bump version to 4.0-50

8 years agoadd hidden option to cpu type
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.

8 years agoupdate version
Dietmar Maurer [Tue, 26 Jan 2016 11:50:35 +0000 (12:50 +0100)]
update version

8 years agoUse format raw if a disk is passthrough to VM.
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.

8 years agoclone: correctly activate volumes (consider snapshots)
Dietmar Maurer [Fri, 22 Jan 2016 10:54:34 +0000 (11:54 +0100)]
clone: correctly activate volumes (consider snapshots)

8 years agobump version to 4.0-48
Dietmar Maurer [Mon, 18 Jan 2016 15:58:42 +0000 (16:58 +0100)]
bump version to 4.0-48

8 years agouse safe_string_ne for trunks
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.

8 years agobump version to 4.0-47
Dietmar Maurer [Fri, 15 Jan 2016 16:27:49 +0000 (17:27 +0100)]
bump version to 4.0-47

8 years agoadd support for network trunks
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>
8 years agouse property strings for drive options
Wolfgang Bumiller [Thu, 14 Jan 2016 12:33:56 +0000 (13:33 +0100)]
use property strings for drive options

8 years agouse property string for smbios1
Wolfgang Bumiller [Thu, 14 Jan 2016 12:33:55 +0000 (13:33 +0100)]
use property string for smbios1

8 years agobump version to 4.0-46
Dietmar Maurer [Wed, 13 Jan 2016 15:42:24 +0000 (16:42 +0100)]
bump version to 4.0-46

8 years agoCloses #787: add Haswell-noTSX and Broadwell-noTSX cpu types
Wolfgang Bumiller [Wed, 13 Jan 2016 13:06:15 +0000 (14:06 +0100)]
Closes #787: add Haswell-noTSX and Broadwell-noTSX cpu types

8 years agobump version to 4.0-45
Dietmar Maurer [Wed, 13 Jan 2016 05:18:12 +0000 (06:18 +0100)]
bump version to 4.0-45

8 years agoio throttle: pass pool parameters (*_max)
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.

8 years agobump version to 4.0-44
Dietmar Maurer [Sun, 10 Jan 2016 14:12:13 +0000 (15:12 +0100)]
bump version to 4.0-44

8 years agoovmf : don't pass x-vga to vfio-pci
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>
8 years agocheck for qorum when starting a VM
Wolfgang Bumiller [Fri, 8 Jan 2016 13:32:49 +0000 (14:32 +0100)]
check for qorum when starting a VM

8 years agobump version to 4.0-43
Dietmar Maurer [Mon, 4 Jan 2016 05:26:50 +0000 (06:26 +0100)]
bump version to 4.0-43

8 years agodisable hyper-v enlightment when xvga is enabled
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>
8 years agocleanup: remove all generated .bash-completion files
Dietmar Maurer [Sat, 19 Dec 2015 08:16:33 +0000 (09:16 +0100)]
cleanup: remove all generated .bash-completion files

8 years agobump version to 4.0-42
Dietmar Maurer [Fri, 18 Dec 2015 08:20:32 +0000 (09:20 +0100)]
bump version to 4.0-42

8 years agoadd detect_zeroes option
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).

8 years agofix bug #841: replace get_used_paths with is_volume_in_use
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.

8 years agobump version to 4.0-41
Dietmar Maurer [Thu, 10 Dec 2015 10:15:58 +0000 (11:15 +0100)]
bump version to 4.0-41

8 years agoalways copy OVMF_VARS-pure-efi.fd file
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.

8 years agointrocude new 'bios' option (replace ovmf option)
Dietmar Maurer [Thu, 10 Dec 2015 09:48:04 +0000 (10:48 +0100)]
introcude new 'bios' option (replace ovmf option)

8 years agoadd ovmf uefi roms support V2
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>
8 years agobump version to 4.0-40
Dietmar Maurer [Wed, 9 Dec 2015 11:22:43 +0000 (12:22 +0100)]
bump version to 4.0-40

8 years agoqm: Add VMID auto completion to some commands
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>
8 years agofix bug #828: activate disks before hotplugging them
Wolfgang Bumiller [Fri, 27 Nov 2015 11:46:40 +0000 (12:46 +0100)]
fix bug #828: activate disks before hotplugging them

8 years agoupdate changelog
Dietmar Maurer [Thu, 26 Nov 2015 10:51:08 +0000 (11:51 +0100)]
update changelog

8 years agorestore firewall config from backup
Wolfgang Link [Wed, 25 Nov 2015 09:20:04 +0000 (10:20 +0100)]
restore firewall config from backup

8 years agofirewall config will now include in the backup and write to vma file.
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.

8 years agoupdate changelog
Dietmar Maurer [Thu, 26 Nov 2015 08:19:51 +0000 (09:19 +0100)]
update changelog

8 years agoreenable steal time
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>
8 years agobump version to 4.0-39
Dietmar Maurer [Tue, 24 Nov 2015 15:50:43 +0000 (16:50 +0100)]
bump version to 4.0-39

8 years agofix bug #783: set KillMode=none, so that systemd don't kill them at shutdown
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

8 years agopve-bridge-hotplug code deduplication
Wolfgang Bumiller [Fri, 13 Nov 2015 15:16:01 +0000 (16:16 +0100)]
pve-bridge-hotplug code deduplication

8 years agobump version to 4.0-38
Dietmar Maurer [Fri, 13 Nov 2015 06:02:35 +0000 (07:02 +0100)]
bump version to 4.0-38

8 years agoDon't treat serial devices as a local resource if they point to a socket.
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

8 years agoqemu_img_convert: activate source volume
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.

8 years agoimprove complete_storage, only show storages which have the capability to run qemu...
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.

8 years agodestroy VM: test for running VM before starting background task
Dietmar Maurer [Sat, 7 Nov 2015 11:09:01 +0000 (12:09 +0100)]
destroy VM: test for running VM before starting background task

8 years agobump version to 4.0.37
Dietmar Maurer [Fri, 6 Nov 2015 15:25:19 +0000 (16:25 +0100)]
bump version to 4.0.37

8 years agoadd pve-bridge-hotplug script
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>
8 years agonic hotplug : use pxe roms for older machinetype
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>
8 years agoadd qemu_use_old_bios_files sub
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>
8 years agoadd qemu_machine_pxe
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>
8 years agobump version to 4.0-36
Dietmar Maurer [Fri, 6 Nov 2015 06:56:27 +0000 (07:56 +0100)]
bump version to 4.0-36

8 years agouse qom-get to check if pxe file are used V2
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>
8 years agomigration: improve ipv6 case
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.

8 years agobump version to 4.0-35
Dietmar Maurer [Fri, 30 Oct 2015 06:07:08 +0000 (07:07 +0100)]
bump version to 4.0-35

8 years agoclone: use a fullclone hash instead of $drive->{full}
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.

8 years agobump version to 4.0-34
Dietmar Maurer [Thu, 29 Oct 2015 16:46:12 +0000 (17:46 +0100)]
bump version to 4.0-34

8 years agoRevert "fix bug 790: encode description before writing to syslog"
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().

8 years agoupdate changelog
Dietmar Maurer [Thu, 29 Oct 2015 09:51:54 +0000 (10:51 +0100)]
update changelog

8 years agofix bug 790: encode description before writing to syslog
Dietmar Maurer [Thu, 29 Oct 2015 09:49:08 +0000 (10:49 +0100)]
fix bug 790: encode description before writing to syslog

8 years agobump version to 4.0-33
Dietmar Maurer [Thu, 29 Oct 2015 06:38:31 +0000 (07:38 +0100)]
bump version to 4.0-33

8 years agosimplify code: consistently use old bios files for older machine types
Dietmar Maurer [Thu, 29 Oct 2015 06:37:00 +0000 (07:37 +0100)]
simplify code: consistently use old bios files for older machine types

8 years agoDon't create unused empty /etc/qemu-server directory
Emmanuel Kasper [Tue, 27 Oct 2015 13:25:36 +0000 (14:25 +0100)]
Don't create unused empty /etc/qemu-server directory

8 years agobump version to 4.0-32
Dietmar Maurer [Wed, 28 Oct 2015 08:08:58 +0000 (09:08 +0100)]
bump version to 4.0-32

8 years agouse old netdevice bios files for older machine types
Dietmar Maurer [Fri, 23 Oct 2015 08:41:53 +0000 (10:41 +0200)]
use old netdevice bios files for older machine types

8 years agobump version to 4.0-31
Dietmar Maurer [Thu, 15 Oct 2015 10:42:05 +0000 (12:42 +0200)]
bump version to 4.0-31

8 years agomigrate : add nocheck for resume
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>
8 years agobump version to 4.0-30
Dietmar Maurer [Mon, 5 Oct 2015 11:13:24 +0000 (13:13 +0200)]
bump version to 4.0-30

8 years agoconvert qmrestore into a PVE::CLI class
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.