5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-05 09:17:55 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
Dietmar Maurer
1a858769ba qm rescan: skip vm state files 2012-09-25 10:27:35 +02:00
Dietmar Maurer
7e7d7b6113 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.
2012-09-10 07:32:33 +02:00
Alexandre Derumier
9dbd1ee434 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>
2012-09-06 10:46:49 +02:00
Dietmar Maurer
c21536ab78 implement 'qm rescan' to update disk sizes and unused disk info 2012-08-20 09:23:00 +02:00
Dietmar Maurer
f91b2e4554 fix for resize: final cleanups 2012-08-08 09:25:54 +02:00
Dietmar Maurer
2f48a4f522 fix for resize: only allow to resize one disk. 2012-08-08 08:26:58 +02:00
Alexandre Derumier
0d02881ce5 qm : add resize
qm resize <vmid> -ide1 +10(G|M|K)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-08-08 07:25:50 +02:00
Dietmar Maurer
9df5cbcc70 implement vm_human_monitor_command using qmp 2012-07-13 07:30:13 +02:00
Dietmar Maurer
41e7bdb916 removed startall/stopall commands
Because we now support startup priorities, and start/stop order must include containers
2012-04-20 09:30:42 +02:00
Dietmar Maurer
3a2232b3db skip ha managed VMs in startall
Instead thos VMs should be started by rgmanager.
2012-03-27 10:41:47 +02:00
Dietmar Maurer
30f6cd84a2 cleanup startall code
Only sleep when neccessary
2012-03-20 09:43:10 +01:00
Dietmar Maurer
ed3ffe31d4 make startall wait up to 10 seconds for quorum 2012-03-20 09:33:41 +01:00
Dietmar Maurer
1858638fe3 replace change_config_nolock with update_config_nolock
We now use cfs_file_write() in order to avoid race conditions between
file IO and cfs operations (read after write works now).
2012-02-02 14:18:41 +01:00
Dietmar Maurer
ac021d2e1d change parameter order for migrate 2011-12-08 11:08:17 +01:00
Dietmar Maurer
2372d11498 correctly set exit code 2011-11-30 09:36:18 +01:00
Dietmar Maurer
ff1a2432c8 activate LVM LVs more carefully
And remove syslog whenever possible (we run most commands as tasks, so
the output is loged anyways)
2011-11-25 08:08:27 +01:00
Dietmar Maurer
5fdbe4f023 create background tasks 2011-10-10 13:17:40 +02:00
Dietmar Maurer
3ea94c60d2 move code from qmigrate into PVE/QemuMigrate.pm
and make migrate a subcommand of qm
2011-09-14 13:33:34 +02:00
Dietmar Maurer
f669a2b1fb Check quorum in startall 2011-09-09 11:32:53 +02:00
Dietmar Maurer
32f9da6804 Check quorum when starting migration tunnel 2011-09-09 11:28:18 +02:00
Dietmar Maurer
554ac7e7b7 Add digest to prevent concurrent changes 2011-09-07 11:41:34 +02:00
Dietmar Maurer
9db78b5ee6 Add delay in startall to reduce load at boot time 2011-09-07 09:54:49 +02:00
Dietmar Maurer
f661e766b7 remove unused file qm.old
moved remaining docs from qm.old to qm
2011-08-29 08:47:09 +02:00
Dietmar Maurer
1e3baf05f2 imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00