]>
git.proxmox.com Git - qemu-server.git/log
Thomas Lamprecht [Wed, 9 Dec 2015 10:40:34 +0000 (11:40 +0100)]
qm: Add VMID auto completion to some commands
Add the respective completion function for the:
*) start
*) stop
*) shutdown
*) suspend
*) resume
*) sendkey
qm commands. The destroy command was left out on purpose for now.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Fri, 27 Nov 2015 11:46:40 +0000 (12:46 +0100)]
fix bug #828: activate disks before hotplugging them
Dietmar Maurer [Thu, 26 Nov 2015 10:51:08 +0000 (11:51 +0100)]
update changelog
Wolfgang Link [Wed, 25 Nov 2015 09:20:04 +0000 (10:20 +0100)]
restore firewall config from backup
Wolfgang Link [Wed, 25 Nov 2015 09:20:05 +0000 (10:20 +0100)]
firewall config will now include in the backup and write to vma file.
Dietmar Maurer [Thu, 26 Nov 2015 08:19:51 +0000 (09:19 +0100)]
update changelog
Alexandre Derumier [Tue, 24 Nov 2015 13:49:30 +0000 (14:49 +0100)]
reenable steal time
we have fixed it in kernel last month
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg14072.html
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 24 Nov 2015 15:50:43 +0000 (16:50 +0100)]
bump version to 4.0-39
Dietmar Maurer [Tue, 24 Nov 2015 15:48:47 +0000 (16:48 +0100)]
fix bug #783: set KillMode=none, so that systemd don't kill them at shutdown
Wolfgang Bumiller [Fri, 13 Nov 2015 15:16:01 +0000 (16:16 +0100)]
pve-bridge-hotplug code deduplication
Dietmar Maurer [Fri, 13 Nov 2015 06:02:35 +0000 (07:02 +0100)]
bump version to 4.0-38
Emmanuel Kasper [Mon, 9 Nov 2015 10:32:02 +0000 (11:32 +0100)]
Don't treat serial devices as a local resource if they point to a socket.
Close: https://bugzilla.proxmox.com/show_bug.cgi?id=470
Dietmar Maurer [Thu, 12 Nov 2015 10:16:50 +0000 (11:16 +0100)]
qemu_img_convert: activate source volume
For example, this is required if we copy from lvmthin snapshots.
Wolfgang Link [Mon, 9 Nov 2015 10:11:47 +0000 (11:11 +0100)]
improve complete_storage, only show storages which have the capability to run qemu images.
Dietmar Maurer [Sat, 7 Nov 2015 11:09:01 +0000 (12:09 +0100)]
destroy VM: test for running VM before starting background task
Dietmar Maurer [Fri, 6 Nov 2015 15:25:19 +0000 (16:25 +0100)]
bump version to 4.0.37
Alexandre Derumier [Fri, 6 Nov 2015 14:05:59 +0000 (15:05 +0100)]
add pve-bridge-hotplug script
use it for nic hotplug, because pve-bridge script will
not work after a live migration, because of the PVE_MIGRATED_FROM env var.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:06 +0000 (10:27 +0100)]
nic hotplug : use pxe roms for older machinetype
we want to avoid mix some nics with pxe rom and other with efi rom.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:05 +0000 (10:27 +0100)]
add qemu_use_old_bios_files sub
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 6 Nov 2015 09:27:04 +0000 (10:27 +0100)]
add qemu_machine_pxe
return machinename with .pxe suffix if a nic with pxe romfile exist
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 6 Nov 2015 06:56:27 +0000 (07:56 +0100)]
bump version to 4.0-36
Alexandre Derumier [Thu, 5 Nov 2015 18:43:10 +0000 (19:43 +0100)]
use qom-get to check if pxe file are used V2
fix qemu 2.4 pxe -> qemu 2.4 efi
Changelog : forget to add a check on qom-get result
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Thu, 5 Nov 2015 13:09:16 +0000 (14:09 +0100)]
migration: improve ipv6 case
Qemu parses hostnames in brackets correctly but sets an ipv6
flag for them as if they were ipv6 addresses, only insert
brackets for ipv6 addresses.
Dietmar Maurer [Fri, 30 Oct 2015 06:07:08 +0000 (07:07 +0100)]
bump version to 4.0-35
Wolfgang Bumiller [Thu, 29 Oct 2015 14:02:35 +0000 (15:02 +0100)]
clone: use a fullclone hash instead of $drive->{full}
'full' is not a valid drive property which are now being
checked in print_property_string. Since it's only a
temporary value and passed to clone_disk as parameter it
can be stored separately.
Dietmar Maurer [Thu, 29 Oct 2015 16:46:12 +0000 (17:46 +0100)]
bump version to 4.0-34
Dietmar Maurer [Thu, 29 Oct 2015 16:44:17 +0000 (17:44 +0100)]
Revert "fix bug 790: encode description before writing to syslog"
This reverts commit
9ac5db408db2dc2380add3090bdd9e04f97e576c .
This is now fixed by a change in PVE::Cluster::log_msg().
Dietmar Maurer [Thu, 29 Oct 2015 09:51:54 +0000 (10:51 +0100)]
update changelog
Dietmar Maurer [Thu, 29 Oct 2015 09:49:08 +0000 (10:49 +0100)]
fix bug 790: encode description before writing to syslog
Dietmar Maurer [Thu, 29 Oct 2015 06:38:31 +0000 (07:38 +0100)]
bump version to 4.0-33
Dietmar Maurer [Thu, 29 Oct 2015 06:37:00 +0000 (07:37 +0100)]
simplify code: consistently use old bios files for older machine types
Emmanuel Kasper [Tue, 27 Oct 2015 13:25:36 +0000 (14:25 +0100)]
Don't create unused empty /etc/qemu-server directory
Dietmar Maurer [Wed, 28 Oct 2015 08:08:58 +0000 (09:08 +0100)]
bump version to 4.0-32
Dietmar Maurer [Fri, 23 Oct 2015 08:41:53 +0000 (10:41 +0200)]
use old netdevice bios files for older machine types
Dietmar Maurer [Thu, 15 Oct 2015 10:42:05 +0000 (12:42 +0200)]
bump version to 4.0-31
Alexandre Derumier [Wed, 14 Oct 2015 09:06:06 +0000 (11:06 +0200)]
migrate : add nocheck for resume
Users have reported resume bug when HA is used.
They seem to have a little race (bench show >0s < 1s) between the vm conf file move on source node and replication to,
and resume on target node.
I don't known why this is only with HA, maybe this occur will standard migration too.
Anyway, we don't need to read the vm config file to resume the vm on target host,
as we are sure that the vm is migrated, and config file move action is correct in the cluster.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Mon, 5 Oct 2015 11:13:24 +0000 (13:13 +0200)]
bump version to 4.0-30
Dietmar Maurer [Mon, 5 Oct 2015 11:10:24 +0000 (13:10 +0200)]
convert qmrestore into a PVE::CLI class
and install bash completion helpers.
Dietmar Maurer [Mon, 5 Oct 2015 10:43:07 +0000 (12:43 +0200)]
create: add better check for unused IDs
Dietmar Maurer [Wed, 30 Sep 2015 08:56:53 +0000 (10:56 +0200)]
bump version to 4.0-29
Wolfgang Bumiller [Wed, 30 Sep 2015 08:23:27 +0000 (10:23 +0200)]
support serial numbers and models for disks
Note that the model is only supported for IDE harddisks via
the -device option, whereas the serial is part of the -drive
option.
Closes #153
Dietmar Maurer [Tue, 29 Sep 2015 05:15:07 +0000 (07:15 +0200)]
bump version to 4.0-28
Alexandre Derumier [Mon, 28 Sep 2015 07:56:34 +0000 (09:56 +0200)]
disable kvm_steal_time
It's currently buggy with live migration
https://bugs.launchpad.net/qemu/+bug/
1494350
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 26 Sep 2015 09:07:48 +0000 (11:07 +0200)]
bump version to 4.0-27
Alen Grizonic [Tue, 22 Sep 2015 08:57:40 +0000 (10:57 +0200)]
boot order permissions change
to change to boot order it is needed to assign a user the
VM.Config.Disk privilege set with the add/modify/delete disk
permissions -> now the patch allows the boot order to be (re)defined
with the VM.Config.Options set - the modify any other VM configuration
Dietmar Maurer [Fri, 25 Sep 2015 16:00:03 +0000 (18:00 +0200)]
bump version to 4.0-26
Alexandre Derumier [Fri, 25 Sep 2015 11:50:37 +0000 (13:50 +0200)]
migration: disable compress
it's already disable by default,
but we want to be sure if it's change in later release
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 25 Sep 2015 11:50:36 +0000 (13:50 +0200)]
enable xbzrle
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 23 Sep 2015 09:48:41 +0000 (11:48 +0200)]
fix kvm version parser for CVE stable releases, bump version to 4.0-25
Dietmar Maurer [Mon, 21 Sep 2015 10:28:34 +0000 (12:28 +0200)]
bump version to 4.0-24
Alen Grizonic [Fri, 18 Sep 2015 09:34:08 +0000 (11:34 +0200)]
VM protection mode
[PATCH v2] changes:
- changed call also for remove VM
Alexandre Derumier [Sun, 20 Sep 2015 17:23:23 +0000 (19:23 +0200)]
pci passthough : make vfio default
and remove old legacy code.
(deprecated and disabled by default since kernel 4.2)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 17 Sep 2015 11:10:19 +0000 (13:10 +0200)]
code cleanups
Alen Grizonic [Thu, 17 Sep 2015 10:11:59 +0000 (12:11 +0200)]
VM protection mode
changes:
- added common check_protection subroutine
- disk removal prevention
- restore over protected VM prevention
- changed man page message
Dietmar Maurer [Mon, 14 Sep 2015 08:37:12 +0000 (10:37 +0200)]
add qm.bash-completion to .gitignore
Wolfgang Link [Mon, 14 Sep 2015 06:44:27 +0000 (08:44 +0200)]
fix error message: allocate to much v-CPUs.
Dietmar Maurer [Thu, 10 Sep 2015 07:38:56 +0000 (09:38 +0200)]
bump version to 4.0-23
Dietmar Maurer [Thu, 10 Sep 2015 07:37:55 +0000 (09:37 +0200)]
avoid warning about undefined value
Dietmar Maurer [Wed, 9 Sep 2015 05:55:50 +0000 (07:55 +0200)]
bump version to 4.0-22
Wolfgang Link [Tue, 8 Sep 2015 14:05:21 +0000 (16:05 +0200)]
add possibility to restore backup on rbd in krbd mode
Wolfgang Link [Tue, 8 Sep 2015 10:23:54 +0000 (12:23 +0200)]
add krbd support to online snapshot
Dietmar Maurer [Tue, 8 Sep 2015 08:51:40 +0000 (10:51 +0200)]
bump version to 4.0-21
Dietmar Maurer [Mon, 7 Sep 2015 09:33:44 +0000 (11:33 +0200)]
fix install path
Dietmar Maurer [Mon, 7 Sep 2015 07:22:47 +0000 (09:22 +0200)]
remove generated qm.bash-completion on make clean
Dietmar Maurer [Mon, 7 Sep 2015 06:13:07 +0000 (08:13 +0200)]
improve bash completion
Dietmar Maurer [Sun, 6 Sep 2015 14:01:59 +0000 (16:01 +0200)]
implement a few bash completion helpers
Dietmar Maurer [Sun, 6 Sep 2015 13:44:53 +0000 (15:44 +0200)]
covert qm into a PVE::CLI class, enable bash completions
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)
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.
Dietmar Maurer [Fri, 28 Aug 2015 16:16:08 +0000 (18:16 +0200)]
cleanup previous patch
Alen Grizonic [Fri, 28 Aug 2015 11:26:40 +0000 (13:26 +0200)]
HA resources check before destroying vm
Dietmar Maurer [Fri, 28 Aug 2015 09:40:01 +0000 (11:40 +0200)]
bump version to 4.0-20
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
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>
Dietmar Maurer [Tue, 25 Aug 2015 04:50:20 +0000 (06:50 +0200)]
bump version to 4.0-19
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>
Dietmar Maurer [Thu, 20 Aug 2015 10:31:07 +0000 (12:31 +0200)]
bump version to 4.0-18
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
Wolfgang Link [Thu, 20 Aug 2015 07:14:34 +0000 (09:14 +0200)]
fix bug #688: prevent copy unused disks in the config.
Dietmar Maurer [Wed, 19 Aug 2015 13:45:09 +0000 (15:45 +0200)]
bump version to 4.0-17
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>
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
Wolfgang Bumiller [Tue, 18 Aug 2015 07:36:09 +0000 (09:36 +0200)]
adapt /config and /pending API calls to force-delete
Dietmar Maurer [Fri, 14 Aug 2015 06:09:56 +0000 (08:09 +0200)]
bump version to 4.0-16
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>
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.
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.
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 ''
Dietmar Maurer [Thu, 30 Jul 2015 09:33:14 +0000 (11:33 +0200)]
bump version to 4.0-15
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>
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>
Dietmar Maurer [Mon, 27 Jul 2015 11:24:56 +0000 (13:24 +0200)]
bump version to 4.0-14
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>
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>
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>
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>
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>
Dietmar Maurer [Wed, 1 Jul 2015 04:41:30 +0000 (06:41 +0200)]
bump version to 4.0-13
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>
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>