]>
git.proxmox.com Git - qemu-server.git/log
Wolfgang Bumiller [Fri, 21 Apr 2017 10:06:34 +0000 (12:06 +0200)]
bump version to 5.0-4
Alexandre Derumier [Fri, 21 Apr 2017 01:39:34 +0000 (03:39 +0200)]
live storage migration : fix check of target storage availability
if we define a different target storeid for remote node,
and that storage is not available on source node
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Fri, 21 Apr 2017 09:49:32 +0000 (11:49 +0200)]
bump version to 5.0-3
Fabian Grünbichler [Wed, 19 Apr 2017 13:19:50 +0000 (15:19 +0200)]
migrate: clarify comment
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 19 Apr 2017 13:19:49 +0000 (15:19 +0200)]
migrate: cleanup nbd source disks earlier
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 19 Apr 2017 13:19:48 +0000 (15:19 +0200)]
fix #1338: migrate: stop nbd before resuming
since Qemu 2.9, block device write access is limited to one
writer unless shared_rw is set to true. there is an
exception for live-migrating local disks via NBD as long as
the VM is suspended.
stop the NBD server before resuming the VM accordingly to
unbreak local disk live-migration.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 19 Apr 2017 13:19:47 +0000 (15:19 +0200)]
start: keep VM paused when migrating via unix socket
this (correctly!) errored out with Qemu 2.9 when live-migrating
local disks, because the NBD server blocks the VM from being
resumed. was probably missed when migrating via unix domains
was originally introduced..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Tue, 18 Apr 2017 07:24:40 +0000 (09:24 +0200)]
turn off alarm timer after accepting a vnc connection
else we always get a failed task when the vnc connection is
running longer than $timeout
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Grünbichler [Mon, 10 Apr 2017 14:28:46 +0000 (16:28 +0200)]
bump version to 5.0-2
Wolfgang Bumiller [Mon, 3 Apr 2017 12:08:19 +0000 (14:08 +0200)]
don't compare booleans
a) because perl isn't THAT bad of a language that you'd need
to do this and b) because JSON::XS version 2.90 "dropped"
this "feature"
Fabian Grünbichler [Fri, 17 Mar 2017 10:01:32 +0000 (11:01 +0100)]
update_vm: check whether opt is set before deleting
otherwise we get lots uninitialized warnings:
update VM 600: -delete unused7
Use of uninitialized value $data in split at /usr/share/perl5/PVE/JSONSchema.pm line 533.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/PVE/API2/Qemu.pm line 1012.
Use of uninitialized value $volid in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 1824.
Use of uninitialized value $volid in pattern match (m//) at /usr/share/perl5/PVE/Storage/Plugin.pm line 201.
Use of uninitialized value $volid in concatenation (.) or string at /usr/share/perl5/PVE/Storage/Plugin.pm line 205.
vs:
update VM 600: -delete unused7
cannot delete 'unused7' - not set in current configuration!
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Wolfgang Bumiller [Mon, 13 Mar 2017 11:00:25 +0000 (12:00 +0100)]
bump version to 5.0-1
Wolfgang Bumiller [Mon, 13 Mar 2017 10:57:13 +0000 (11:57 +0100)]
bump version to 4.0-110
Emmanuel Kasper [Wed, 1 Mar 2017 09:31:54 +0000 (10:31 +0100)]
Use backticks instead of single quotes in qm resize description
Single quoted text in asciidoc is rendered in man pages
with underlines, which makes the '+' symbol very similar to '+/-'
Backticks are rendered with monospace text in HTML, normal text
in man pages, and still readable in raw format.
Fabian Grünbichler [Tue, 28 Feb 2017 11:46:45 +0000 (12:46 +0100)]
defined() style cleanup
Wolfgang Link [Thu, 23 Feb 2017 13:44:54 +0000 (14:44 +0100)]
Check array existed before use.
This triggers if a qemu guest has a local unused disk.
The disk will migrate by offline disk migration, so it is not in the target_drives.
Wolfgang Bumiller [Tue, 7 Feb 2017 11:18:34 +0000 (12:18 +0100)]
remove netcat6 dependency
By simply using a socket.
Dominik Csapak [Fri, 17 Feb 2017 14:54:06 +0000 (15:54 +0100)]
add Skylake to CPU Models
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Emmanuel Kasper [Thu, 16 Feb 2017 09:39:35 +0000 (10:39 +0100)]
Improve error message when trying to shrink a volume, fix typo
Wolfgang Bumiller [Mon, 13 Feb 2017 11:00:26 +0000 (12:00 +0100)]
fix bad scsihw default value check
This was checking for scsihw being set in both branches
whereas lsi is also the default. Added the missing 'not'.
Fixes a bug where a VM with a disk with a scsi index >= 7
refused to start due to an invalid scsi id.
Reported-by: Friedrich Ramberger <f.ramberger@proxmox.com>
Wolfgang Bumiller [Thu, 9 Feb 2017 10:48:03 +0000 (11:48 +0100)]
fix dependency
Wolfgang Bumiller [Thu, 9 Feb 2017 10:41:01 +0000 (11:41 +0100)]
bump version to 4.0-109
Wolfgang Bumiller [Tue, 7 Feb 2017 13:55:48 +0000 (14:55 +0100)]
skiplock standard option was moved to pve-common
this now need libpve-common-perl >= 4.0-92
Wolfgang Bumiller [Mon, 6 Feb 2017 15:13:30 +0000 (16:13 +0100)]
don't pull HA modules for doc-generation
Wolfgang Bumiller [Mon, 6 Feb 2017 15:13:08 +0000 (16:13 +0100)]
buildsys: use fakeroot for dpkg-deb
Wolfgang Bumiller [Mon, 6 Feb 2017 15:12:48 +0000 (16:12 +0100)]
buildsys: use gzip -n to disable timestamps
Wolfgang Bumiller [Mon, 6 Feb 2017 15:12:18 +0000 (16:12 +0100)]
buildsys: set PVE_GENERATING_DOCS for completions
Wolfgang Bumiller [Tue, 31 Jan 2017 12:54:56 +0000 (13:54 +0100)]
bump version to 4.0-108
Wolfgang Bumiller [Tue, 31 Jan 2017 12:39:17 +0000 (13:39 +0100)]
buildsys: job-safe deb target
Fabian Grünbichler [Wed, 11 Jan 2017 14:51:42 +0000 (15:51 +0100)]
change TLS cipher suite to HIGH
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 25 Jan 2017 13:58:14 +0000 (14:58 +0100)]
fix #1260: convert moved template disk to base
this was already possible manually via "qm template", but
doing it automatically when moving a disk of a template
makes more sense.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Wed, 25 Jan 2017 08:48:55 +0000 (09:48 +0100)]
bump version to 4.0-107
Fabian Grünbichler [Wed, 25 Jan 2017 08:46:27 +0000 (09:46 +0100)]
add dependencies for common packages
libpve-guest-common-perl
libpve-common-perl
Dietmar Maurer [Wed, 25 Jan 2017 08:19:33 +0000 (09:19 +0100)]
bump version to 4.0-106
Fabian Grünbichler [Tue, 24 Jan 2017 10:25:52 +0000 (11:25 +0100)]
only use scsi-block with explicit opt-in
since it can cause I/O errors and data corruption in low
memory or highly fragmented memory situations since Qemu 2.7
use scsi-hd by default instead
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dietmar Maurer [Thu, 19 Jan 2017 08:20:30 +0000 (09:20 +0100)]
bump version to 4.0-105
Dietmar Maurer [Wed, 18 Jan 2017 16:22:34 +0000 (17:22 +0100)]
use new PVE::Storage::check_volume_access()
Dmitry Petuhov [Mon, 16 Jan 2017 07:45:10 +0000 (10:45 +0300)]
Set zero $size and continue if volume_resize() returns false
Needed for some storages with backing block devices to do oonlinr resize.
Signed-off-by: Dmitry Petuhov <mityapetuhov@gmail.com>
Dietmar Maurer [Thu, 12 Jan 2017 13:15:27 +0000 (14:15 +0100)]
bump version to 4.0-104
Dietmar Maurer [Thu, 12 Jan 2017 13:10:24 +0000 (14:10 +0100)]
add setup_environment hook to CLIHandler classes
Wolfgang Bumiller [Mon, 9 Jan 2017 14:33:10 +0000 (15:33 +0100)]
cleanup: drop superfluous condition in assignment
Its use later on already uses itself as condition.
Alexandre Derumier [Mon, 9 Jan 2017 13:36:24 +0000 (14:36 +0100)]
add romfile option to hostpci
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Jan 2017 09:15:07 +0000 (10:15 +0100)]
add with-local-disks option for live storage migration
As Fabian as required,
add an extra flag "with-local-disks" to enable live storage migration with localdisk.
default target storage is same sid than source, this can be overrided with
"targetstorage" option.
I will try improve this later, with optionnal mapping, disk by disk.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Thu, 5 Jan 2017 08:54:07 +0000 (09:54 +0100)]
cleanup: error messages
Wolfgang Bumiller [Thu, 5 Jan 2017 08:40:44 +0000 (09:40 +0100)]
drive-mirror: bump timeout to 5s, add 30s inactivity timeout
Wolfgang Bumiller [Thu, 5 Jan 2017 08:39:13 +0000 (09:39 +0100)]
drive-mirror: warn use POSIX::_exit on exec failure
Wolfgang Bumiller [Thu, 5 Jan 2017 08:16:28 +0000 (09:16 +0100)]
cleanup: whitespaces & style
Alexandre Derumier [Tue, 3 Jan 2017 14:03:19 +0000 (15:03 +0100)]
live clone_vm : suspend or freezefs before block-job-cancel
if qga is enabled, we try to freeze the fs before cancelling block job.
if not , we pause the vm.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:18 +0000 (15:03 +0100)]
add socat and unix socket for storage migration
This is a workaround for nbd infinite timeout connect
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:17 +0000 (15:03 +0100)]
add live storage migration with vm migration
This allow to migrate disks on local storage to a remote node storage.
When the target node start, a new volumes are created and exposed through qemu embedded nbd server.
qemu drive-mirror is launch on source vm for each disk with nbd server as target.
when drive-mirror reach 100% of 1 disk, we don't complete the block jobs and begin mirror of next disk.
(mirroring are parralel, but we try to mirroring them 1 by 1 to avoid storage && network overload)
Then we live migrate the vm to destination node. (drive-mirror still occur at the same time).
We the vm is livemigrate (source vm paused, target vm pause), we complete the block jobs mirror.
When is done we stop the source vm and resume the target vm
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:16 +0000 (15:03 +0100)]
add qm nbdstop
we use it to stop remote nbd server
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:15 +0000 (15:03 +0100)]
add targetstorage to vm_start
This will create a new drive for each local drive found,
and start the vm with this new drives.
if targetstorage == 1, we use same sid than original vm disk
a nbd server is started in qemu and expose local volumes to network port
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:14 +0000 (15:03 +0100)]
clone live vm : add support for multiple jobs
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:13 +0000 (15:03 +0100)]
qemu_drive_mirror : handle multiple jobs
we can use multiple drive_mirror in parralel.
block-job-complete can be skipped, if we want to add more mirror job later.
also add support for nbd uri to qemu_drive_mirror
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Jan 2017 14:03:12 +0000 (15:03 +0100)]
qmpclient : block-job-(complete|cancel) : set timeout to 10min
like query-block-jobs.
qmp socket can be busy when block job are running
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 22 Dec 2016 11:41:13 +0000 (12:41 +0100)]
bump version to 4.0-103
Fabian Grünbichler [Tue, 20 Dec 2016 11:30:57 +0000 (12:30 +0100)]
destroy_vm: allow vdisk_free to fail
otherwise we end up with undeletable VM configs in case
vdisk_free fails (which could happen because of cluster-wide
lock contention, storage problems, ..).
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Emmanuel Kasper [Tue, 20 Dec 2016 10:33:01 +0000 (11:33 +0100)]
Display volume size in log when doing a volume backup
Output before this patch
INFO: include disk 'scsi0' 'file=pve4tank:vm-402-disk-1'
Output after this patch:
INFO: include disk 'scsi0' 'file=pve4tank:vm-402-disk-1' 64G
we're mainly intersted by the volume size here, it was requested in #351
Dietmar Maurer [Tue, 20 Dec 2016 09:13:36 +0000 (10:13 +0100)]
bump version to 4.0-102
and remove useless RELEASE
Dietmar Maurer [Tue, 20 Dec 2016 09:11:56 +0000 (10:11 +0100)]
avoid "No balloon device has been activated" warnings in vmstatus
Fabian Grünbichler [Mon, 5 Dec 2016 11:39:24 +0000 (12:39 +0100)]
bump version to 4.0-101
Dominik Csapak [Mon, 5 Dec 2016 10:21:15 +0000 (11:21 +0100)]
allow migration of local qcow2 snapshots
we can migrate local snapshots when on zfs or dir storage with qcow2,
but the check was incorrect
we checked for if (zfs && !qcow2) instead of if (zfs || qcow2)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 2 Dec 2016 17:51:23 +0000 (18:51 +0100)]
bump version to 4.0-100
Thomas Lamprecht [Fri, 2 Dec 2016 16:55:29 +0000 (17:55 +0100)]
allow insecure migrations from older qemu-servers
When trying to migrate a VM from a node with qemu server <= 4.0-92 to
a node with qemu server >= 4.0-93 we failed as the remote qemu-server
got no explicit migration_type' from the older qemu server on the
source.
Check if migration_type is defined on a incoming migration start, if
not set it.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 1 Dec 2016 06:59:24 +0000 (07:59 +0100)]
bump version to 4.0-99
Dietmar Maurer [Thu, 1 Dec 2016 06:55:51 +0000 (07:55 +0100)]
qm agent: remove 'guest-' prefix from commands
Dietmar Maurer [Thu, 1 Dec 2016 06:49:30 +0000 (07:49 +0100)]
qm agent: pass command as second required argument
usage: qm agent <vmid> <command>
Dietmar Maurer [Thu, 1 Dec 2016 06:42:37 +0000 (07:42 +0100)]
qm agent: add output formatter
Dietmar Maurer [Thu, 1 Dec 2016 05:58:36 +0000 (06:58 +0100)]
qm agent: directly return result
This is required for correct error handling. The previous
code simply cought all exceptions.
Dietmar Maurer [Thu, 1 Dec 2016 05:45:00 +0000 (06:45 +0100)]
qm agent: enumerate possible guest commands
Dietmar Maurer [Wed, 30 Nov 2016 12:07:52 +0000 (13:07 +0100)]
cleanup: reorder code so that emacs font-lock-mode works again
This is just a work around for emacs bugs.
Dietmar Maurer [Wed, 30 Nov 2016 11:47:03 +0000 (12:47 +0100)]
qm agent: add command line completion for vmid
Dietmar Maurer [Wed, 30 Nov 2016 11:32:02 +0000 (12:32 +0100)]
bump version to 4.0-98
Wolfgang Link [Thu, 3 Nov 2016 14:26:50 +0000 (15:26 +0100)]
Add qm agent.
This command makes it possible to run commnads on the Qemu-Guest-Agent if it is installed and running.
Thomas Lamprecht [Wed, 23 Nov 2016 10:40:41 +0000 (11:40 +0100)]
increase timeout from guest-fsfreeze-freeze
The qmp command 'guest-fsfreeze-freeze' issues in linux a FIFREEZE
ioctl call on all mounted guest FS.
This ioctl call locks the filesystem and gets it into an consistent
state. For this all caches must be synced after blocking new writes
to the FS, which may need a relative long time, especially under high
IO load on the backing storage.
In windows a VSS (Volume Shadow Copy Service) request_freeze will
issued. As of the closed Windows nature the exact mechanisms cannot
be checked but some microsoft blog posts and other forum post suggest
that it should return fast but certain workloads can still trigger a
long delay resulting an similar problems.
Thus try to minimize the error probability and increase the timeout
significantly.
We use 60 minutes as timeout as this seems a limit which should not
get trespassed in a somewhat healthy system.
See:
https://forum.proxmox.com/threads/22192/
see the 'freeze_super' and 'thaw_super' function in fs/super.c from
the linux kernel tree for more details on the freeze behavior in
Linux guests.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 29 Nov 2016 08:09:39 +0000 (09:09 +0100)]
bump version to 4.0-97
Emmanuel Kasper [Thu, 17 Nov 2016 14:03:38 +0000 (15:03 +0100)]
Add entry for windows 10 and 2016 support
All special flags for Windows 8 and Windows 2012 (win8 type)
are kept the same , since we set flags based on checking if
/^win(\d+)$/ is greater than 6 or 7
Dietmar Maurer [Wed, 23 Nov 2016 09:02:55 +0000 (10:02 +0100)]
bump version to 4.0-96
Fabian Grünbichler [Wed, 23 Nov 2016 08:17:07 +0000 (09:17 +0100)]
restrict monitor API to Sys.Modify for most commands
because these allow adding arbitrary devices to VMs (and
other potentially dangerous things).
whitelist 'info *' and 'help' as usable with just
VM.Monitor, if more are desired and requested they can be
added later.
Dietmar Maurer [Wed, 23 Nov 2016 07:11:33 +0000 (08:11 +0100)]
bump version to 4.0-95
Dietmar Maurer [Wed, 23 Nov 2016 07:03:08 +0000 (08:03 +0100)]
vm_shutdown: request 'stopped' state for HA enabled VMs
Dietmar Maurer [Wed, 23 Nov 2016 05:40:33 +0000 (06:40 +0100)]
combine option 'format' with previous line (avoid emacs confusion)
Dietmar Maurer [Wed, 23 Nov 2016 05:23:21 +0000 (06:23 +0100)]
use ha-manager 'stopped' state instead of 'disabled'
Thomas Lamprecht [Fri, 18 Nov 2016 16:42:17 +0000 (17:42 +0100)]
switch to 'ha-manager set'
ha-manager enabled/disabled will get removed
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 14 Nov 2016 12:23:02 +0000 (13:23 +0100)]
vmstate snapshot : activate|deactivate volume
This fix vmstate snasphot on krbd volume
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 14 Nov 2016 12:01:21 +0000 (13:01 +0100)]
qemu_volume_snapshot_delete : fix krbd snapshot delete
like for snapshot, we need to check if krbd is enabled, to known
if we need to use qmp delete-drive-snapshot or storage command directly
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Stefan Priebe [Wed, 16 Nov 2016 19:10:40 +0000 (20:10 +0100)]
VZDump/QemuServer: set bless clas correctly
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Alexandre Derumier [Fri, 11 Nov 2016 08:32:11 +0000 (09:32 +0100)]
qxlnum: use $winversion
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 11 Nov 2016 08:32:10 +0000 (09:32 +0100)]
hv_vendor_id : for winversion >= 6 , not >=7.
as It was previously.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 8 Nov 2016 01:56:01 +0000 (02:56 +0100)]
cleanup windows version handling and hyperv enlightments
This cleanup windows guest os version handling,
with normalizing ostype with numbers in a new windows_version sub.
if($ostype eq 'wxp' || $ostype eq 'w2k3' || $ostype eq 'w2k') {
$winversion = 5;
} elsif($ostype eq 'w2k8' || $ostype eq 'wvista') {
$winversion = 6;
} elsif ($ostype =~ m/^win(\d+)$/) {
$winversion = $1;
}
so we can simply do test on windows version with lower or upper version
Hyperv enlightments configuration is centralized
in a new add_hyperv_enlighments sub.
Also disable hyperv with win < 8 + ovmf.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 5 Nov 2016 15:28:59 +0000 (16:28 +0100)]
remove format_description from $met_fmt->{model}
Dietmar Maurer [Sat, 5 Nov 2016 14:56:12 +0000 (15:56 +0100)]
remove unnecessary format_description from cputype
Dietmar Maurer [Thu, 3 Nov 2016 12:21:53 +0000 (13:21 +0100)]
register new standard option 'pve-qm-image-format'
Dietmar Maurer [Thu, 3 Nov 2016 11:54:05 +0000 (12:54 +0100)]
bump version to 4.0-94
Dietmar Maurer [Thu, 3 Nov 2016 11:48:24 +0000 (12:48 +0100)]
fix add_throttle_desc - pass correct units
Dietmar Maurer [Thu, 3 Nov 2016 09:26:51 +0000 (10:26 +0100)]
bump version to 4.0-93
Wolfgang Bumiller [Thu, 3 Nov 2016 07:17:28 +0000 (08:17 +0100)]
Close #1195: support iops/bps_max_length throttling options
Wolfgang Bumiller [Thu, 3 Nov 2016 07:17:15 +0000 (08:17 +0100)]
fix a perl warning when failing to parse a new drive string
Wolfgang Bumiller [Thu, 3 Nov 2016 07:17:14 +0000 (08:17 +0100)]
fix a warning: discard is not a number
Thomas Lamprecht [Mon, 31 Oct 2016 08:42:31 +0000 (09:42 +0100)]
allow dedicated migration network, bug #1177
Without this patch we use the network were the cluster traffic runs
for sending migration traffic. This is not ideal as it may hinder
cluster traffic. Further some users have a powerful network which
would be perfect for migrations, with this patch they can run the
migration traffic over such a network without having the corosync
traffic on the same network.
The network is configurable through /etc/pve/datacenter.cfg which
got a new property, namely migration. migration has two
subproperties: type (replaces the old migration_unsecure property)
and network.
For the case of a network failure or that a VM has to be moved over
another network for arbitrary other reasons I added the
migration_type and migration_network parameters to qm migrate (and
respectively vm_start as this gets used on migration).
They allow overwriting the datacenter.cfg settings.
Fixes bug #1177
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>