]> git.proxmox.com Git - qemu-server.git/log
qemu-server.git
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.

8 years agocreate: add better check for unused IDs
Dietmar Maurer [Mon, 5 Oct 2015 10:43:07 +0000 (12:43 +0200)]
create: add better check for unused IDs

8 years agobump version to 4.0-29
Dietmar Maurer [Wed, 30 Sep 2015 08:56:53 +0000 (10:56 +0200)]
bump version to 4.0-29

8 years agosupport serial numbers and models for disks
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

8 years agobump version to 4.0-28
Dietmar Maurer [Tue, 29 Sep 2015 05:15:07 +0000 (07:15 +0200)]
bump version to 4.0-28

8 years agodisable kvm_steal_time
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>
8 years agobump version to 4.0-27
Dietmar Maurer [Sat, 26 Sep 2015 09:07:48 +0000 (11:07 +0200)]
bump version to 4.0-27

8 years agoboot order permissions change
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

8 years agobump version to 4.0-26
Dietmar Maurer [Fri, 25 Sep 2015 16:00:03 +0000 (18:00 +0200)]
bump version to 4.0-26

8 years agomigration: disable compress
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>
8 years agoenable xbzrle
Alexandre Derumier [Fri, 25 Sep 2015 11:50:36 +0000 (13:50 +0200)]
enable xbzrle

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agofix kvm version parser for CVE stable releases, bump version to 4.0-25
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

8 years agobump version to 4.0-24
Dietmar Maurer [Mon, 21 Sep 2015 10:28:34 +0000 (12:28 +0200)]
bump version to 4.0-24

8 years agoVM protection mode
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

8 years agopci passthough : make vfio default
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>
8 years agocode cleanups
Dietmar Maurer [Thu, 17 Sep 2015 11:10:19 +0000 (13:10 +0200)]
code cleanups

8 years agoVM protection mode
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

8 years agoadd qm.bash-completion to .gitignore
Dietmar Maurer [Mon, 14 Sep 2015 08:37:12 +0000 (10:37 +0200)]
add qm.bash-completion to .gitignore

8 years agofix error message: allocate to much v-CPUs.
Wolfgang Link [Mon, 14 Sep 2015 06:44:27 +0000 (08:44 +0200)]
fix error message: allocate to much v-CPUs.

8 years agobump version to 4.0-23
Dietmar Maurer [Thu, 10 Sep 2015 07:38:56 +0000 (09:38 +0200)]
bump version to 4.0-23

8 years agoavoid warning about undefined value
Dietmar Maurer [Thu, 10 Sep 2015 07:37:55 +0000 (09:37 +0200)]
avoid warning about undefined value

8 years agobump version to 4.0-22
Dietmar Maurer [Wed, 9 Sep 2015 05:55:50 +0000 (07:55 +0200)]
bump version to 4.0-22

8 years agoadd possibility to restore backup on rbd in krbd mode
Wolfgang Link [Tue, 8 Sep 2015 14:05:21 +0000 (16:05 +0200)]
add possibility to restore backup on rbd in krbd mode

8 years agoadd krbd support to online snapshot
Wolfgang Link [Tue, 8 Sep 2015 10:23:54 +0000 (12:23 +0200)]
add krbd support to online snapshot

8 years agobump version to 4.0-21
Dietmar Maurer [Tue, 8 Sep 2015 08:51:40 +0000 (10:51 +0200)]
bump version to 4.0-21

8 years agofix install path
Dietmar Maurer [Mon, 7 Sep 2015 09:33:44 +0000 (11:33 +0200)]
fix install path

8 years agoremove generated qm.bash-completion on make clean
Dietmar Maurer [Mon, 7 Sep 2015 07:22:47 +0000 (09:22 +0200)]
remove generated qm.bash-completion on make clean

8 years agoimprove bash completion
Dietmar Maurer [Mon, 7 Sep 2015 06:13:07 +0000 (08:13 +0200)]
improve bash completion

8 years agoimplement a few bash completion helpers
Dietmar Maurer [Sun, 6 Sep 2015 14:01:59 +0000 (16:01 +0200)]
implement a few bash completion helpers

8 years agocovert qm into a PVE::CLI class, enable bash completions
Dietmar Maurer [Sun, 6 Sep 2015 13:44:53 +0000 (15:44 +0200)]
covert qm into a PVE::CLI class, enable bash completions

8 years agoVM protection mode added
Alen Grizonic [Thu, 3 Sep 2015 13:35:37 +0000 (15:35 +0200)]
VM protection mode added

used to prevent an unintended virtual machine remove operation

v3 changes:

- changed man page message
- removed protection parameter (where not needed)

8 years agofix move_disk on RBD
Wolfgang Link [Thu, 3 Sep 2015 11:12:13 +0000 (13:12 +0200)]
fix move_disk on RBD

activating the disk when use RBD is necessary to have the given path.

8 years agocleanup previous patch
Dietmar Maurer [Fri, 28 Aug 2015 16:16:08 +0000 (18:16 +0200)]
cleanup previous patch

8 years agoHA resources check before destroying vm
Alen Grizonic [Fri, 28 Aug 2015 11:26:40 +0000 (13:26 +0200)]
HA resources check before destroying vm

8 years agobump version to 4.0-20
Dietmar Maurer [Fri, 28 Aug 2015 09:40:01 +0000 (11:40 +0200)]
bump version to 4.0-20

8 years agofix: start kvm with os type other
Dietmar Maurer [Fri, 28 Aug 2015 09:10:44 +0000 (11:10 +0200)]
fix: start kvm with os type other

this check is necessary, because we do not set ostype in qemu config when type is other

Seem that x2apic is now enabled by default when kvm is used

since this commit
http://git.qemu.org/?p=qemu.git;a=commit;h=ef02ef5f4536dba090b12360a6c862ef0e57e3bc

So we just need to disable it for solaris

8 years agofix 'uninitialized value in concat' due to unnamed VM
Thomas Lamprecht [Thu, 27 Aug 2015 12:56:36 +0000 (14:56 +0200)]
fix 'uninitialized value in concat' due to unnamed VM

This is an minor fix which let's you start the spice console on an
unnamed VM without getting the 'Use of uninitialized value in
concatenation' error.
Also changes the trailing comma from the $conf definition lineto an
semicolon.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-19
Dietmar Maurer [Tue, 25 Aug 2015 04:50:20 +0000 (06:50 +0200)]
bump version to 4.0-19

8 years agoclone vm firewall config file
Alen Grizonic [Fri, 21 Aug 2015 15:13:58 +0000 (17:13 +0200)]
clone vm firewall config file

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
8 years agobump version to 4.0-18
Dietmar Maurer [Thu, 20 Aug 2015 10:31:07 +0000 (12:31 +0200)]
bump version to 4.0-18

8 years agofix bug #688: if vm is not owner of this disk remove from config
Wolfgang Link [Thu, 20 Aug 2015 08:34:59 +0000 (10:34 +0200)]
fix bug #688: if vm is not owner of this disk remove from config

8 years agofix bug #688: prevent copy unused disks in the config.
Wolfgang Link [Thu, 20 Aug 2015 07:14:34 +0000 (09:14 +0200)]
fix bug #688: prevent copy unused disks in the config.

8 years agobump version to 4.0-17
Dietmar Maurer [Wed, 19 Aug 2015 13:45:09 +0000 (15:45 +0200)]
bump version to 4.0-17

8 years agofix bug #603: vmid.fw file not deleted
Alen Grizonic [Wed, 19 Aug 2015 08:33:05 +0000 (10:33 +0200)]
fix bug #603: vmid.fw file not deleted

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
8 years agofix bug #517: improve error message
Wolfgang Link [Mon, 17 Aug 2015 12:27:11 +0000 (14:27 +0200)]
fix bug #517: improve error message

Get a understandble message,
if someone try to increase a qcow2 image where one or more snapshots reside

8 years agoadapt /config and /pending API calls to force-delete
Wolfgang Bumiller [Tue, 18 Aug 2015 07:36:09 +0000 (09:36 +0200)]
adapt /config and /pending API calls to force-delete

8 years agobump version to 4.0-16
Dietmar Maurer [Fri, 14 Aug 2015 06:09:56 +0000 (08:09 +0200)]
bump version to 4.0-16

8 years agoremove vm access permissions after destroy
Alen Grizonic [Thu, 13 Aug 2015 10:21:36 +0000 (12:21 +0200)]
remove vm access permissions after destroy

removed duplicated code which was used in
PVE::AccessControl -> now in PVE::API2::Qemu

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
8 years agomerge delete_drive into try_deallocate_drive
Wolfgang Bumiller [Thu, 13 Aug 2015 09:15:56 +0000 (11:15 +0200)]
merge delete_drive into try_deallocate_drive

It used to be private and is only used once.

8 years agopending-delete: remember force-deletes
Wolfgang Bumiller [Wed, 12 Aug 2015 11:38:36 +0000 (13:38 +0200)]
pending-delete: remember force-deletes

The -force flag didn't have any effect since the pending
changes didn't carry over the the flag.
Now forced deletes have an exclamation mark prepended to the
option name.

8 years agocorrectly handle empty description in pending section
Dietmar Maurer [Tue, 11 Aug 2015 09:24:41 +0000 (11:24 +0200)]
correctly handle empty description in pending section

So that we can delete descriptions with

 qm set <vmid> --descr ''

8 years agobump version to 4.0-15
Dietmar Maurer [Thu, 30 Jul 2015 09:33:14 +0000 (11:33 +0200)]
bump version to 4.0-15

8 years agoFixed wrong UUID in Qemu VZDump backup
Thomas Lamprecht [Wed, 29 Jul 2015 09:00:35 +0000 (11:00 +0200)]
Fixed wrong UUID in Qemu VZDump backup

As the format of the uuid which the qemu monitor returned changed,
it is here adapted to fix errors with not matching uuids.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoadd memory_unplug support V2
Alexandre Derumier [Wed, 29 Jul 2015 03:12:12 +0000 (05:12 +0200)]
add memory_unplug support V2

qemu 2.4 feature

changelog: rebase on last git

Note that currently linux guest don't support unplug of dimm when it'sused by kernel memory.
They are some tunning to do with memory zone movable.
http://events.linuxfoundation.org/sites/events/files/lcjp13_chen.pdf

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.0-14
Dietmar Maurer [Mon, 27 Jul 2015 11:24:56 +0000 (13:24 +0200)]
bump version to 4.0-14

8 years agofixed bug 662, wrong subroutine for parsing startup order
Thomas Lamprecht [Thu, 16 Jul 2015 11:46:27 +0000 (13:46 +0200)]
fixed bug 662, wrong subroutine for parsing startup order

Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order() in qemu-server and pve-manager

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agocpuflags : don't enforce with tcg mode
Alexandre Derumier [Mon, 20 Jul 2015 10:30:58 +0000 (12:30 +0200)]
cpuflags : don't enforce with tcg mode

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agocpuflags : remove enforce for cpumodel=host
Alexandre Derumier [Wed, 8 Jul 2015 08:49:07 +0000 (10:49 +0200)]
cpuflags : remove enforce for cpumodel=host

Currently enforce with cpumodel=host on amd cpus don't work,
because amd cpus have unsupported flags in qemu.

This is a protection, and this is good.

but cpumodel host should be never use by users for production (only for testing).
For production and stability, users need to choose a true cpu model which filter
the supported cpuflags by qemu.

So I think we can remove the enforce for host model as for testing it's ok.

warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 14]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 15]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 16]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 17]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 23]
warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 24]
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agocpuflags : remove -rdtscp for Opteron cpu models
Alexandre Derumier [Wed, 8 Jul 2015 08:49:06 +0000 (10:49 +0200)]
cpuflags : remove -rdtscp for Opteron cpu models

rdtscp is not supported by qemu and with enforce it's not starting
warning: host doesn't support requested feature: CPUID.80000001H:EDX.rdtscp [bit 27]

from to qemu wiki
http://wiki.qemu.org/Features/CPUModels#Disabling_features_that_were_always_disabled_on_KVM
"Fact: currently libvirt runs CPU models having rdtscp without the "enforce" flag, and rdtscp is silently disabled
Consequence: libvirt SHOULD use something like "-cpu Opteron_G5,-rdtscp",
especially when it starts using (or emulating) enforce mode
This will require a solution on libvirt side. QEMU will just provide the mechanisms to report CPU model information
and check what the host and QEMU supports, but the decision to disable rdtscp to be able
to run Opteron_G[2345] needs to be taken by libvirt."

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agovzdump : abord backup if disk have iothread enabled.
Alexandre Derumier [Tue, 21 Jul 2015 13:14:36 +0000 (15:14 +0200)]
vzdump : abord backup if disk have iothread enabled.

Currently backup don't work with iothread feature, and crash qemu

For now, abord the backup if one of the vm drives have iothread enabled until backup code is fixed.

Upstream qemu backup cde already support iothread.
http://git.qemu.org/?p=qemu.git;a=commit;h=761731b1805f6ef64eb615e5b82a0801db3cde78

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.0-13
Dietmar Maurer [Wed, 1 Jul 2015 04:41:30 +0000 (06:41 +0200)]
bump version to 4.0-13

8 years agoqemu-server : drive-mirror : allow to interrupts at the scanning bitmap phase
Alexandre Derumier [Wed, 1 Jul 2015 04:01:42 +0000 (06:01 +0200)]
qemu-server : drive-mirror : allow to interrupts at the scanning bitmap phase

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoqemuserver : vm_status : add extended stats (disks, nics, memory) V3
Alexandre Derumier [Tue, 16 Jun 2015 10:44:49 +0000 (12:44 +0200)]
qemuserver : vm_status : add extended stats (disks, nics, memory) V3

Add extended stats results for each nics,disks and memory on full stats mode only.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.0-12
Dietmar Maurer [Wed, 10 Jun 2015 08:33:23 +0000 (10:33 +0200)]
bump version to 4.0-12

8 years agoremove outdated host_device format
Dietmar Maurer [Wed, 10 Jun 2015 08:29:30 +0000 (10:29 +0200)]
remove outdated host_device format

Newer qemu does not need it.

https://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg02790.html

8 years agoparse_drive: do not overwrite configured format
Dietmar Maurer [Wed, 10 Jun 2015 08:22:42 +0000 (10:22 +0200)]
parse_drive: do not overwrite configured format

Instead, we use qemu_img_format() to query the format when we need it.
We also pass the format to qemu in print_drive_full to avoid qemu warnings.

8 years agofix aio O_DIRECT check for cdrom drives
Wolfgang Bumiller [Tue, 2 Jun 2015 14:04:26 +0000 (16:04 +0200)]
fix aio O_DIRECT check for cdrom drives

Only non-cdrom drives default to cache=none, so the check
for whether to default to aio=native needs to take the same
condition into account.
I combined them close together to make their relation more
visible.

8 years agocpulimit: use number instead of integer
Dietmar Maurer [Tue, 2 Jun 2015 14:03:25 +0000 (16:03 +0200)]
cpulimit: use number instead of integer

8 years agoimplement cpuunit with cgroups
Alexandre Derumier [Tue, 2 Jun 2015 06:06:45 +0000 (08:06 +0200)]
implement cpuunit with cgroups

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.0-11
Dietmar Maurer [Mon, 1 Jun 2015 10:36:31 +0000 (12:36 +0200)]
bump version to 4.0-11

8 years agouse noawait triggers for pve-api-updates
Dietmar Maurer [Mon, 1 Jun 2015 10:35:16 +0000 (12:35 +0200)]
use noawait triggers for pve-api-updates

8 years agobump version to 4.0-10
Dietmar Maurer [Fri, 29 May 2015 06:24:44 +0000 (08:24 +0200)]
bump version to 4.0-10

8 years agocode cleanup
Dietmar Maurer [Fri, 29 May 2015 06:23:13 +0000 (08:23 +0200)]
code cleanup

8 years agoremove old openvz fairscheduler code
Alexandre Derumier [Thu, 28 May 2015 13:59:23 +0000 (15:59 +0200)]
remove old openvz fairscheduler code

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoimplement hotplug for cpuunits
Alexandre Derumier [Thu, 28 May 2015 13:59:22 +0000 (15:59 +0200)]
implement hotplug for cpuunits

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoimplement cgroups through systemd-run
Alexandre Derumier [Thu, 28 May 2015 13:59:21 +0000 (15:59 +0200)]
implement cgroups through systemd-run

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agolocalhost instead of 127.0.0.1 makes ipv6 life easier
Wolfgang Bumiller [Tue, 26 May 2015 14:08:53 +0000 (16:08 +0200)]
localhost instead of 127.0.0.1 makes ipv6 life easier

8 years agomigration: put the source address in brackets
Wolfgang Bumiller [Thu, 21 May 2015 13:19:35 +0000 (15:19 +0200)]
migration: put the source address in brackets

Always adding brackets around the address works. They're required for
ipv6 and qemu also accepts them for ipv4 and hostnames.

8 years agopass port family to next_*_port() calls
Wolfgang Bumiller [Tue, 12 May 2015 10:14:03 +0000 (12:14 +0200)]
pass port family to next_*_port() calls

8 years agobump version to 4.0-9
Dietmar Maurer [Tue, 12 May 2015 06:19:56 +0000 (08:19 +0200)]
bump version to 4.0-9

8 years agoqmp drive-mirror : set big timeout
Alexandre Derumier [Mon, 11 May 2015 13:55:22 +0000 (15:55 +0200)]
qmp drive-mirror : set big timeout

drive-mirror is doing lseek on source image before starting, and this can take a lot of time for big nfs volume
during this time, qmp socket is hanging
http://lists.nongnu.org/archive/html/qemu-devel/2015-05/msg01838.html
so we need to setup a big timeout

qemu devs are currently working to fix this

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoqemu-mirror : block job complete : use ready flag
Alexandre Derumier [Mon, 11 May 2015 13:55:21 +0000 (15:55 +0200)]
qemu-mirror : block job complete : use ready flag

Since qemu 2.2, a new "ready" flag has been added to blockjob
http://git.qemu.org/?p=qemu.git;a=commit;h=ef6dbf1e46ebd1d41ab669df5bba0bbdec6bd374
to known if we can complete it.

we can't use len==offset to known if all block are mirrored, because behaviour will change soon in qemu 2.3

http://git.qemu.org/?p=qemu.git;a=commit;h=b21c76529d55bf7bb02ac736b312f5f8bf033ea2
"block/mirror: Improve progress report

Instead of taking the total length of the block device as the block
job's length, use the number of dirty sectors. The progress is now the
number of sectors mirrored to the target block device. Note that this
may result in the job's length increasing during operation, which is
however in fact desirable.
"

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoSwitch from netcat-traditional to netcat6
Wolfgang Bumiller [Mon, 11 May 2015 12:29:19 +0000 (14:29 +0200)]
Switch from netcat-traditional to netcat6

netcat6 supports both ipv4 and ipv6, contrary to netcat-traditional.
Additionally rather than using the alternatives-managed /bin/nc path,
/bin/nc6 is now used which always points to the netcat6 implementation,
allowing us to drop the netcat-openbsd conflict entry.

8 years agoremove running from Storage and check it in QemuServer
Wolfgang Link [Wed, 6 May 2015 07:57:34 +0000 (09:57 +0200)]
remove running from Storage and check it in QemuServer

It is better to check if a VM is running in QemuServer then in Storage.
for the Storage there is no difference if it is running or not.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agobump version to 4.0-8
Dietmar Maurer [Tue, 5 May 2015 12:58:16 +0000 (14:58 +0200)]
bump version to 4.0-8

8 years agotrigger pve-api-updates event
Dietmar Maurer [Tue, 5 May 2015 12:57:00 +0000 (14:57 +0200)]
trigger pve-api-updates event

9 years agoimplement offline migration on zfs
Wolfgang Link [Fri, 24 Apr 2015 11:27:27 +0000 (13:27 +0200)]
implement offline migration on zfs

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agofix bug #618: correct typo
Wolfgang Link [Wed, 8 Apr 2015 06:05:13 +0000 (08:05 +0200)]
fix bug #618: correct typo

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agobump version to 4.0-7
Dietmar Maurer [Wed, 22 Apr 2015 08:04:20 +0000 (10:04 +0200)]
bump version to 4.0-7

9 years agouse new standard option 'pve-startup-order'
Dietmar Maurer [Wed, 22 Apr 2015 08:02:33 +0000 (10:02 +0200)]
use new standard option 'pve-startup-order'

9 years agobump version to 4.0-6
Dietmar Maurer [Fri, 17 Apr 2015 11:11:48 +0000 (13:11 +0200)]
bump version to 4.0-6

9 years agofix ha resource names
Dietmar Maurer [Fri, 17 Apr 2015 11:10:32 +0000 (13:10 +0200)]
fix ha resource names

9 years agofix bug #617: change command arrangement
Wolfgang Link [Tue, 7 Apr 2015 12:01:13 +0000 (14:01 +0200)]
fix bug #617: change command arrangement

the ovs-vsctl del-port flush the tc settings.
So we have to change the arrangement of setting up the network.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoimplement virtio-scsi multiqueues
Alexandre Derumier [Thu, 2 Apr 2015 04:10:54 +0000 (06:10 +0200)]
implement virtio-scsi multiqueues

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
9 years agouse aio=native only with O_DIRECT (cache=none|directsync)
Alexandre Derumier [Thu, 2 Apr 2015 06:11:25 +0000 (08:11 +0200)]
use aio=native only with O_DIRECT (cache=none|directsync)

Currently qemu auto fallback to aio=threads if cache=none|directsync
It's better to handle that correctly

see:
https://bugzilla.redhat.com/show_bug.cgi?id=1086704

http://wiki.qemu.org/ChangeLog/2.3
Future incompatible changes:
Block device parameter aio=native has no effect without cache.direct=on. It will be made an error.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
9 years agoforbid hot-unplug of virtioscsi + iothread drive
Alexandre Derumier [Wed, 1 Apr 2015 03:11:44 +0000 (05:11 +0200)]
forbid hot-unplug of virtioscsi + iothread drive

qemu (<=2.3) currently segfault on drive_del

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>