Commit Graph

762 Commits

Author SHA1 Message Date
Dietmar Maurer
1c06086781 do not use ehci by default
Because the ehci driver blocks migration (ehci is currently not migratable)
2011-12-08 10:26:59 +01:00
Dietmar Maurer
d68afb26bf improve error message 2011-12-08 10:07:19 +01:00
Dietmar Maurer
72afda82a1 fix migration tunnel 2011-12-08 09:32:09 +01:00
Dietmar Maurer
2b5569777b use cache=none by default (for raw format) 2011-12-07 12:02:34 +01:00
Dietmar Maurer
3b408e826c use new bootindex option 2011-12-07 11:54:31 +01:00
Dietmar Maurer
2ed36a412c code cleanup 2011-12-07 11:41:27 +01:00
Dietmar Maurer
46a84fd400 replace logmsg() with $self->log() 2011-12-07 11:25:20 +01:00
Dietmar Maurer
a3c5221310 fix version parser for qemu-kvm 1.0 2011-12-07 11:16:57 +01:00
Dietmar Maurer
16e903f2dc use new AbstractMigrate.pm 2011-12-07 06:36:20 +01:00
Derumier Alexandre
2b05ac1331 add ide-cd, ide-hd, scsi-cd, scsi-hd, scsi-block to device syntax
ide-cd, ide-hd replace old ide-drive legacy syntax
scsi-cd, iscsi-hd replace old ide-drive legacy syntax
scsi-block is new in qemu 1.0

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2011-12-07 06:24:36 +01:00
Dietmar Maurer
2372d11498 correctly set exit code 2011-11-30 09:36:18 +01:00
Dietmar Maurer
02d07cf579 fix vm_shutdown bug - pass storecfg parameter 2011-11-30 09:33:43 +01:00
Dietmar Maurer
4bb5a31707 cleanup error messages 2011-11-29 12:43:34 +01:00
Dietmar Maurer
bbbe5146ff fix stopall 2011-11-29 11:14:26 +01:00
Dietmar Maurer
f325c6d625 update version to 2.0-8 2011-11-29 08:08:56 +01:00
Dietmar Maurer
3bcea617bd be more careful when removing snapshots 2011-11-29 06:25:09 +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
15f231e1c7 do not call check_lock() for sendkey 2011-11-25 13:20:58 +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
48e1a963f4 set correct migrate speed
We overwrite slow kvm default.
2011-11-23 09:13:33 +01:00
Dietmar Maurer
971f27c404 improve error message when archive does not exist 2011-11-23 07:30:43 +01:00
Dietmar Maurer
cf3298e611 fix vzdump stop mode 2011-11-21 06:38:11 +01:00
Dietmar Maurer
2d8f7f219b set version to 2.0-4 2011-11-19 09:55:01 +01:00
Dietmar Maurer
ae4915a20d fix cpu usage 2011-11-18 09:35:32 +01:00
Dietmar Maurer
5534dd1ad1 add cache=unsafe mode 2011-11-18 05:48:52 +01:00
Dietmar Maurer
a591eebacb only raise exception when parameter -force is set 2011-11-17 13:36:56 +01:00
Dietmar Maurer
c274d9f9f5 update version to 2.0-3 2011-11-09 11:36:09 +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
3ada46c9b1 use split_args from PVE::Tools 2011-10-25 12:19:36 +02:00
Dietmar Maurer
2415a44601 use shellquote from PVE::Tools 2011-10-25 11:37:56 +02: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
4925fe8ec1 fix shell quoting 2011-10-20 06:39:45 +02:00
Dietmar Maurer
7454902f67 mark iscsi service optional in init.d 2011-10-20 05:54:49 +02:00
Dietmar Maurer
97fb319d57 better documentation 2011-10-19 11:31:06 +02:00
Dietmar Maurer
9c502e26f3 enable piped input with qmrestore 2011-10-19 11:27:42 +02:00
Derumier Alexandre
58dc808de2 bugfix scsicontroller
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2011-10-19 06:06:09 +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
Dietmar Maurer
c339b1967d undo open-iscsi package dependency
We depend on iscsi ini init.d, but there is no need to add
a package dependency in contol.in
2011-10-14 14:47:35 +02:00
Dietmar Maurer
7476784c0f depend on open-iscsi
We need to add the iscsi dependency to the init.d script. Else
insserv tries to stops iscsi to early.
2011-10-14 14:16:26 +02:00
Dietmar Maurer
66ab1d916c fix vzdump plugin for 2.0 2011-10-14 11:05:06 +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
Dietmar Maurer
1dc4f49676 further code cleanups 2011-10-11 13:30:18 +02:00
Dietmar Maurer
e8b9c17cac use 'boolean' for hotplug option
cleanup coding style
2011-10-11 13:22:40 +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