]>
git.proxmox.com Git - qemu-server.git/log
Dietmar Maurer [Wed, 2 Jan 2013 05:34:51 +0000 (06:34 +0100)]
bump version to 2.3-3
Alexandre Derumier [Mon, 31 Dec 2012 09:55:52 +0000 (10:55 +0100)]
fix Bug #293: CDROM size not reset when set to use no media
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Sun, 30 Dec 2012 18:03:00 +0000 (19:03 +0100)]
add set migrate_downtime default value to 0.1 && add number type
can be integer or float
ex:
1
1.0
0.3
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Stefan Priebe [Sun, 30 Dec 2012 18:02:59 +0000 (19:02 +0100)]
implement dynamic migration_downtime
changelog:
- increment counter also if remaining memory equal 0 (qemu 1.4 migration code)
- only increment coutner and set down_time if memory transfert have occured. (to avoid too fast downtime increment)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 28 Dec 2012 13:06:46 +0000 (14:06 +0100)]
allow manual ballooning if shares is set to zero
Dietmar Maurer [Fri, 28 Dec 2012 13:05:58 +0000 (14:05 +0100)]
correctly set shares (allow 0)
Dietmar Maurer [Fri, 28 Dec 2012 12:04:19 +0000 (13:04 +0100)]
fix permission check for option 'shares'
Alexandre Derumier [Thu, 27 Dec 2012 15:06:55 +0000 (16:06 +0100)]
api2: vm_feature
return true/false if vm has feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:06:54 +0000 (16:06 +0100)]
add sub has_feature
loop over each disk of the vm config file to find if feature is available.
If one of the disk doesn't have the feature, we return undef, else return 1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 08:18:16 +0000 (09:18 +0100)]
add downtime && expected_downtime query-migrate info
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 08:18:15 +0000 (09:18 +0100)]
add error log for qm start of the target vm.
Can be usefull to see what's wrong if target vm doesn't start (missing storage, missing bridge,...)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 08:18:14 +0000 (09:18 +0100)]
move qmp migrate_set_down && migrate_set_speed to qemumigrate
so we can set the values when the vm is running
also use int() to get json working
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 20 Dec 2012 11:41:03 +0000 (12:41 +0100)]
use vm_mon_cmd_nocheck at startup
To avoid errors on migration.
Dietmar Maurer [Wed, 19 Dec 2012 08:08:16 +0000 (09:08 +0100)]
report balloon_min in bytes (not MBs)
Dietmar Maurer [Wed, 19 Dec 2012 06:30:34 +0000 (07:30 +0100)]
enable balloon by default, unless explicitly disabled
So that we can get memory stats from the guest.
Dietmar Maurer [Wed, 19 Dec 2012 06:24:39 +0000 (07:24 +0100)]
add shares property for auto-ballooning
Also allow to set 'balloon: 0' to disable the ballon driver.
Dietmar Maurer [Tue, 18 Dec 2012 11:36:18 +0000 (12:36 +0100)]
use new query-balloon to get used/free memory
Also set stats-polling-interval on the balloon driver at startup.
bump version to 2.3-2
Dietmar Maurer [Wed, 12 Dec 2012 14:35:26 +0000 (15:35 +0100)]
include new qemu backup feature
We can still restore old tar files. But new backups always use new vma
format.
Also moved rescan code from qm into PVE::Qemuserver
bump version to 2.3-1
Dietmar Maurer [Tue, 11 Dec 2012 10:18:37 +0000 (11:18 +0100)]
bump version to 2.0-71
Dietmar Maurer [Thu, 6 Dec 2012 08:01:56 +0000 (09:01 +0100)]
also support getfd
Dietmar Maurer [Thu, 6 Dec 2012 07:39:03 +0000 (08:39 +0100)]
add support for add-fd command
We can now pass open file descriptors to qemu.
Dietmar Maurer [Thu, 6 Dec 2012 06:56:11 +0000 (07:56 +0100)]
show better error message if bridge does not exist
Dietmar Maurer [Tue, 27 Nov 2012 05:37:19 +0000 (06:37 +0100)]
cleanup cpu types
Remove: rhel specific types cpu64-rhel6 cpu64-rhel5
Add: SandyBridge Haswell Opteron_G4 Opteron_G5
Dietmar Maurer [Fri, 23 Nov 2012 06:45:46 +0000 (07:45 +0100)]
fix version parser for qemu 1.3
Dietmar Maurer [Fri, 16 Nov 2012 05:14:35 +0000 (06:14 +0100)]
qmb balloon command expects bytes
Dietmar Maurer [Mon, 5 Nov 2012 05:26:25 +0000 (06:26 +0100)]
vzdump: store drive in correct order (sort) to avoid confusion
Dietmar Maurer [Sat, 3 Nov 2012 06:55:11 +0000 (07:55 +0100)]
fix allocation size in qmrestore
Dietmar Maurer [Fri, 2 Nov 2012 06:48:42 +0000 (07:48 +0100)]
vzdump: restore sata drives correctly
Dietmar Maurer [Wed, 31 Oct 2012 12:58:46 +0000 (13:58 +0100)]
bump version to 2.0-65
Stefan Priebe [Wed, 31 Oct 2012 11:16:55 +0000 (12:16 +0100)]
PVE/API2/Qemu: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Mon, 29 Oct 2012 11:15:43 +0000 (12:15 +0100)]
fix memory leak in QMP Client (many thanks to Stefan!)
Dietmar Maurer [Thu, 25 Oct 2012 08:01:24 +0000 (10:01 +0200)]
fix bug in vmtar
Incompatiple types (size_t/ssize_t) can make vmtar to ignore errors. We now compile
with -Werror and -Wtype-limits to detect such things.
Dietmar Maurer [Wed, 24 Oct 2012 06:59:31 +0000 (08:59 +0200)]
vncproxy: wait until vnc port is ready
Dietmar Maurer [Tue, 23 Oct 2012 07:36:18 +0000 (09:36 +0200)]
add 'win8' ostype
Use same defaults as win7 for now.
Dietmar Maurer [Mon, 22 Oct 2012 10:27:14 +0000 (12:27 +0200)]
bump version to 2.0-60
Alexandre Derumier [Fri, 28 Sep 2012 08:58:26 +0000 (10:58 +0200)]
pve-bridge : use mtu of the bridge for tap interface
currently if the bridge have a mtu of 9000, when putting a tap interface on it (mtu 1500 by default),
the mtu of the bridge goes to 1500.
we want that the mtu of the tap interface equal the mtu of the bridge
correcting bug:
https://bugzilla.proxmox.com/show_bug.cgi?id=258
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 27 Sep 2012 07:42:48 +0000 (09:42 +0200)]
disable vzdump for VM containing snapshots
Dietmar Maurer [Wed, 26 Sep 2012 10:42:03 +0000 (12:42 +0200)]
fix bug 251: use new command line syntax
Dietmar Maurer [Tue, 25 Sep 2012 08:27:35 +0000 (10:27 +0200)]
qm rescan: skip vm state files
Dietmar Maurer [Tue, 25 Sep 2012 07:36:45 +0000 (09:36 +0200)]
reserve more space for live snapshot state (2*memory)
Dietmar Maurer [Tue, 25 Sep 2012 07:27:24 +0000 (09:27 +0200)]
pass timeout to qmp open_connection
Dietmar Maurer [Tue, 25 Sep 2012 06:12:59 +0000 (08:12 +0200)]
bump version to 2.0-57
Dietmar Maurer [Tue, 25 Sep 2012 05:42:01 +0000 (07:42 +0200)]
migrate volumes used inside snapshots including vmstate
Introduce new helper function foreach_volid()
Dietmar Maurer [Tue, 25 Sep 2012 05:26:34 +0000 (07:26 +0200)]
fix check for non-shared disks
Dietmar Maurer [Mon, 24 Sep 2012 14:00:03 +0000 (16:00 +0200)]
bump version to 2.0-56
Dietmar Maurer [Mon, 24 Sep 2012 08:43:19 +0000 (10:43 +0200)]
updates for async shapshot patch
Dietmar Maurer [Thu, 20 Sep 2012 05:37:35 +0000 (07:37 +0200)]
remove timeout when loading state from file.
So we finally have no timeout when we migrate a vm or when we load state.
Dietmar Maurer [Wed, 19 Sep 2012 10:37:33 +0000 (12:37 +0200)]
fix syntax error
Dietmar Maurer [Wed, 19 Sep 2012 08:40:30 +0000 (10:40 +0200)]
we need to continue the VM after loading state
Dietmar Maurer [Wed, 19 Sep 2012 08:12:12 +0000 (10:12 +0200)]
rollback: do important tests before stopping VM
Dietmar Maurer [Tue, 18 Sep 2012 07:23:47 +0000 (09:23 +0200)]
allow nexenta snapshots, use new -loadstate option
Dietmar Maurer [Fri, 14 Sep 2012 11:58:49 +0000 (13:58 +0200)]
fix syntax error
Dietmar Maurer [Fri, 14 Sep 2012 11:57:52 +0000 (13:57 +0200)]
continue VM after snapshot rollback
Dietmar Maurer [Thu, 13 Sep 2012 07:45:48 +0000 (09:45 +0200)]
include additional info in snapshot list
Dietmar Maurer [Thu, 13 Sep 2012 07:13:39 +0000 (09:13 +0200)]
pass 'digest', so that GUI can detect changes easily
Also use 'current' instead of '__current'
Dietmar Maurer [Wed, 12 Sep 2012 11:34:55 +0000 (13:34 +0200)]
snapshot: save state and implement rollback
We automatically stop the VM on rollback, and start it again when there
is saved state.
Dietmar Maurer [Wed, 12 Sep 2012 11:32:12 +0000 (13:32 +0200)]
use long timeouts for snapshot monitor command
Internal snapshots should be fast, but there is not guarantee.
Dietmar Maurer [Wed, 12 Sep 2012 09:59:48 +0000 (11:59 +0200)]
snapshot: allocate/free volid for VM state
Dietmar Maurer [Wed, 12 Sep 2012 08:17:41 +0000 (10:17 +0200)]
snapshot: don't overwrite main VM description
Dietmar Maurer [Wed, 12 Sep 2012 08:10:08 +0000 (10:10 +0200)]
snapshot_delete: correctly unlink parent refs
Dietmar Maurer [Wed, 12 Sep 2012 07:56:50 +0000 (09:56 +0200)]
snapshot_create: correctly set parent when creating a new snapshot
Dietmar Maurer [Wed, 12 Sep 2012 07:55:56 +0000 (09:55 +0200)]
snapshot_create: check if vm is running before try to save state
Dietmar Maurer [Wed, 12 Sep 2012 06:58:33 +0000 (08:58 +0200)]
snapshot_delete: save changes after each drive snapshot removal
Dietmar Maurer [Wed, 12 Sep 2012 05:19:38 +0000 (07:19 +0200)]
improve snapshot delete - add force option to API
Dietmar Maurer [Tue, 11 Sep 2012 07:24:18 +0000 (09:24 +0200)]
add API to get/set snapshot configuration.
You can currently only modify the 'description'.
Dietmar Maurer [Tue, 11 Sep 2012 07:00:26 +0000 (09:00 +0200)]
add description for snapshots
Dietmar Maurer [Tue, 11 Sep 2012 06:45:39 +0000 (08:45 +0200)]
add snapshot time stamp
Dietmar Maurer [Tue, 11 Sep 2012 06:33:20 +0000 (08:33 +0200)]
snapshot list: include current position
Dietmar Maurer [Mon, 10 Sep 2012 10:08:55 +0000 (12:08 +0200)]
fix typo
Dietmar Maurer [Mon, 10 Sep 2012 09:49:32 +0000 (11:49 +0200)]
test snapshot capability, fix unused drive handling
Dietmar Maurer [Mon, 10 Sep 2012 08:15:14 +0000 (10:15 +0200)]
make 'parent' a real option
Dietmar Maurer [Mon, 10 Sep 2012 08:06:01 +0000 (10:06 +0200)]
fix snapshot rollback
Dietmar Maurer [Mon, 10 Sep 2012 07:55:11 +0000 (09:55 +0200)]
do not copy list of unused disk into snapshot config
Dietmar Maurer [Mon, 10 Sep 2012 07:31:53 +0000 (09:31 +0200)]
fix snapshot permissions - check for VM.Snapshot
Dietmar Maurer [Mon, 10 Sep 2012 06:55:04 +0000 (08:55 +0200)]
register standard option for snapshot name
Dietmar Maurer [Mon, 10 Sep 2012 05:58:06 +0000 (07:58 +0200)]
improve snapshot REST interface
Dietmar Maurer [Mon, 10 Sep 2012 05:32:33 +0000 (07:32 +0200)]
split snapshot into separate methods.
We also start background tasks now. I also removed the 'digest'and 'force' parameters, because I think we do not need them here.
Dietmar Maurer [Fri, 7 Sep 2012 11:07:23 +0000 (13:07 +0200)]
update config on snapshot commands
Dietmar Maurer [Fri, 7 Sep 2012 09:51:19 +0000 (11:51 +0200)]
add save/load snapshot information, add basic snapshot handling stubs
Alexandre Derumier [Thu, 6 Sep 2012 08:33:40 +0000 (10:33 +0200)]
add qemu_volume_snapshot_delete
We need to split the delvm monitor command, like savevm, to delete snapshot onlinefor each volume (qcow2,sheepdog,rbd)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:39 +0000 (10:33 +0200)]
add qga_unfreezefs
empty for now, need to implement
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:38 +0000 (10:33 +0200)]
add qga_freezefs
empty for now, need to implement
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:37 +0000 (10:33 +0200)]
add qemu_snapshot_end
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:36 +0000 (10:33 +0200)]
add qemu_snapshot_start
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:35 +0000 (10:33 +0200)]
add qm snapshot command
qm snapshot <vmid> <action> <snapshotname> --vmstate --freezefs
action : create|rollback|delete
vmstate : save the vmstate
freezefs: freezefs with qemu-ga
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:33:34 +0000 (10:33 +0200)]
add qemu_volume_snapshot
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 4 Sep 2012 04:46:53 +0000 (06:46 +0200)]
set correct default for new 'agent' option
We do not enable that by default for now.
Dietmar Maurer [Tue, 4 Sep 2012 04:31:44 +0000 (06:31 +0200)]
rename option 'qga' to 'agent'
Alexandre Derumier [Mon, 3 Sep 2012 07:51:08 +0000 (09:51 +0200)]
add qemu guest agent support
this add chardev and virtio-serial devices for communication with guest agent.
vmconfig option :
qga: 1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 31 Aug 2012 09:04:52 +0000 (11:04 +0200)]
bump version to 2.0-55
Dietmar Maurer [Fri, 31 Aug 2012 09:02:47 +0000 (11:02 +0200)]
migrate: disable xbzrle for now.
This is not stable, and sometimes cause endless migration (migration never stops).
Dietmar Maurer [Thu, 30 Aug 2012 10:18:44 +0000 (12:18 +0200)]
bump version to 2.0-54
Dietmar Maurer [Thu, 30 Aug 2012 10:15:07 +0000 (12:15 +0200)]
avoid warning about uninitialized value
Dietmar Maurer [Thu, 30 Aug 2012 07:28:24 +0000 (09:28 +0200)]
migrate: tolerate query-migrate errors
Dietmar Maurer [Wed, 29 Aug 2012 11:42:41 +0000 (13:42 +0200)]
use mbps instead of bps
The new parser automatically converts old bps to mbps.
Dietmar Maurer [Wed, 29 Aug 2012 11:01:52 +0000 (13:01 +0200)]
cleanup: split out parse_size
Dietmar Maurer [Wed, 29 Aug 2012 07:19:21 +0000 (09:19 +0200)]
allow to specify sata as boot disk
Dietmar Maurer [Wed, 29 Aug 2012 06:00:26 +0000 (08:00 +0200)]
fix changelog
Alexandre Derumier [Tue, 28 Aug 2012 10:46:08 +0000 (12:46 +0200)]
livemigrate : activate xbzrle cache
This help migrate for vm with of lot of memory access (like database)
live migration tests working:
kvm 1.2 -> kvm 1.2 (xbzrle set on both side)
kvm 1.1 -> kvm 1.2 (xbzrle on target)
kvm 1.1 -> kvm 1.1 (xbzrle not set, qmp command try to set xbzrle but fail)
failing migration
kvm 1.2 -> kvm 1.1 fail, but this is expected.
I tested with a memory benchmark running on the vm with 4GB ram
without xbzrle : migration take 10min, with many network hang
with xbzrle : migration take 1min, no hang
I display xbzrle counters for debug purpose, we can remove them later
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 28 Aug 2012 10:46:07 +0000 (12:46 +0200)]
use scsi-generic by default with libiscsi
This add scsi passthrough with libiscsi
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>