Dietmar Maurer
16e903f2dc
use new AbstractMigrate.pm
2011-12-07 06:36:20 +01:00
Dietmar Maurer
02d07cf579
fix vm_shutdown bug - pass storecfg parameter
2011-11-30 09:33:43 +01:00
Dietmar Maurer
b7eeab2151
we can only resume a VM which is running
2011-11-29 06:24:55 +01:00
Dietmar Maurer
a5ed42d347
try to detect errors before starting the background task
2011-11-25 13:25:32 +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
971f27c404
improve error message when archive does not exist
2011-11-23 07:30:43 +01:00
Dietmar Maurer
a591eebacb
only raise exception when parameter -force is set
2011-11-17 13:36:56 +01:00
Dietmar Maurer
91c94f0a23
implement monitor API
2011-11-09 08:26:46 +01:00
Dietmar Maurer
4f1be36cdc
allow node name 'localhost'
2011-11-03 07:39:01 +01:00
Dietmar Maurer
5b9d692ae7
allow to pass volume IDs in create_vm (restore)
2011-10-20 11:18:46 +02:00
Dietmar Maurer
bc4dcb99a1
test for CLI when using pipe
2011-10-20 10:51:28 +02:00
Dietmar Maurer
9c502e26f3
enable piped input with qmrestore
2011-10-19 11:27:42 +02:00
Dietmar Maurer
51586c3a4c
implement unique option for restore
...
Also try to convert old vlanX to new netX syntax.
2011-10-18 09:14:05 +02:00
Dietmar Maurer
a6af7b3e35
destroy old data when restore with --force
2011-10-18 07:42:29 +02:00
Dietmar Maurer
3e16d5fc60
implement qmrestore
...
Restore is a special case of create_vm.
2011-10-17 13:51:05 +02:00
Derumier Alexandre
f19d1c4790
Fix/cleanup disk hotplug
...
- pass $conf to create_disks sub
- add some checks on results of "drive_del","drive_add","device_del","device_add"
- replace "sleep 2" by iterative sub vm_waitfordevicecleanup
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2011-10-14 10:20:05 +02:00
Dietmar Maurer
43779a7baa
remove wrong inline comment
2011-10-12 07:42:11 +02:00
Derumier Alexandre
2bbed6c09a
add a hook to call vm_devicedel with disk is removed from configuration
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2011-10-11 13:13:05 +02:00
Dietmar Maurer
c6bb9502db
add timeout parameter for stop/shotdown
2011-10-11 11:58:34 +02:00
Dietmar Maurer
5fdbe4f023
create background tasks
2011-10-10 13:17:40 +02:00
Dietmar Maurer
be62c45cf9
cleanups
2011-10-05 10:16:20 +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
554ac7e7b7
Add digest to prevent concurrent changes
2011-09-07 11:41:34 +02:00
Dietmar Maurer
1e3baf05f2
imported from svn 'qemu-server/pve2'
2011-08-23 07:47:04 +02:00