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

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>