]>
git.proxmox.com Git - qemu-server.git/log
Derumier Alexandre [Wed, 1 Feb 2012 12:25:20 +0000 (13:25 +0100)]
add ahci controller
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Wed, 1 Feb 2012 12:25:19 +0000 (13:25 +0100)]
add sata hdd support
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Sat, 28 Jan 2012 16:07:33 +0000 (17:07 +0100)]
cleanup warning messages
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Sat, 28 Jan 2012 10:02:29 +0000 (11:02 +0100)]
add qemu_netdevadd, qemu_netdevdel and add them in hotplug code
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Sat, 28 Jan 2012 10:02:28 +0000 (11:02 +0100)]
add print_netdevice_full, print_netdev_full subs
and change code to use it
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Sat, 28 Jan 2012 10:02:27 +0000 (11:02 +0100)]
add nic hotplug to update_vm
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Fri, 27 Jan 2012 08:53:48 +0000 (09:53 +0100)]
add lock around update_vm code
Dietmar Maurer [Fri, 27 Jan 2012 08:35:26 +0000 (09:35 +0100)]
removed trailing whitespace
Derumier Alexandre [Thu, 26 Jan 2012 18:43:48 +0000 (19:43 +0100)]
update_vm rework
now we write conf after each option.
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Mon, 23 Jan 2012 10:59:28 +0000 (11:59 +0100)]
use new syntax for permission attribute
Derumier Alexandre [Fri, 20 Jan 2012 10:42:08 +0000 (11:42 +0100)]
rework of hotplug/unplug in Qemu.pm
manage errors on more than 1 device
use unused disk for new created disk but failed hotplug
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:07 +0000 (11:42 +0100)]
add scsi disk hotplug/unplug
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:06 +0000 (11:42 +0100)]
add lsi controller hotplug
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:05 +0000 (11:42 +0100)]
create qemu_deviceadd, qemu_devicedel, qemu_driveadd, qemu_drivedel, qemu_deviceaddverify, qemu_devicedelverify
and replace code in vm_deviceplug/vm_deviceunplug
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:04 +0000 (11:42 +0100)]
print_drivedevice_full : change deviceid: device-scsi to scsi and device-ide to ide
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:03 +0000 (11:42 +0100)]
rename vm_deviceadd to vm_deviceplug, and vm_devicedel to vm_deviceunplug
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 20 Jan 2012 10:42:02 +0000 (11:42 +0100)]
rename scsicontroller deviceid from scsi0/1 to lsi0/1
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Thu, 19 Jan 2012 08:31:40 +0000 (09:31 +0100)]
use new assemble_vnc_ticket
Dietmar Maurer [Tue, 17 Jan 2012 12:12:40 +0000 (13:12 +0100)]
catch exception when storage does not exists
Dietmar Maurer [Tue, 17 Jan 2012 10:56:56 +0000 (11:56 +0100)]
fix bug #81: do no deactivate volumes in vzdump stop mode
We add a keepActive parameter to stop/shutdown API.
Dietmar Maurer [Tue, 17 Jan 2012 10:25:44 +0000 (11:25 +0100)]
online migration fix: close tunnel later, wait for connection close
Dietmar Maurer [Mon, 9 Jan 2012 10:25:25 +0000 (11:25 +0100)]
use 'da' instead of 'dk' for Danish keyboard
Qemu use that name.
Dietmar Maurer [Thu, 22 Dec 2011 12:10:27 +0000 (13:10 +0100)]
add ha flag to status info
Dietmar Maurer [Tue, 20 Dec 2011 11:28:20 +0000 (12:28 +0100)]
load vhost_net module
Dietmar Maurer [Fri, 16 Dec 2011 05:35:07 +0000 (06:35 +0100)]
use timeout flag instead of wait command
Dietmar Maurer [Fri, 16 Dec 2011 05:34:35 +0000 (06:34 +0100)]
do not raise exceptions in vm_stop_cleanup
Dietmar Maurer [Fri, 16 Dec 2011 05:32:09 +0000 (06:32 +0100)]
dont raise errors if not needed
Dietmar Maurer [Thu, 15 Dec 2011 11:47:39 +0000 (12:47 +0100)]
implement forceStop for vm_shutdown
Dietmar Maurer [Thu, 15 Dec 2011 10:29:01 +0000 (11:29 +0100)]
use PVE::Tools::run_with_timeout
Derumier Alexandre [Tue, 13 Dec 2011 08:59:28 +0000 (09:59 +0100)]
scsi-block auto detection
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Thu, 8 Dec 2011 10:41:58 +0000 (11:41 +0100)]
fix bootorder
Dietmar Maurer [Thu, 8 Dec 2011 10:08:17 +0000 (11:08 +0100)]
change parameter order for migrate
Dietmar Maurer [Thu, 8 Dec 2011 09:24:56 +0000 (10:24 +0100)]
do not use ehci by default
Because the ehci driver blocks migration (ehci is currently not migratable)
Dietmar Maurer [Thu, 8 Dec 2011 09:07:19 +0000 (10:07 +0100)]
improve error message
Dietmar Maurer [Thu, 8 Dec 2011 08:32:09 +0000 (09:32 +0100)]
fix migration tunnel
Dietmar Maurer [Wed, 7 Dec 2011 11:02:34 +0000 (12:02 +0100)]
use cache=none by default (for raw format)
Dietmar Maurer [Wed, 7 Dec 2011 10:54:31 +0000 (11:54 +0100)]
use new bootindex option
Dietmar Maurer [Wed, 7 Dec 2011 10:41:27 +0000 (11:41 +0100)]
code cleanup
Dietmar Maurer [Wed, 7 Dec 2011 10:25:20 +0000 (11:25 +0100)]
replace logmsg() with $self->log()
Dietmar Maurer [Wed, 7 Dec 2011 10:16:57 +0000 (11:16 +0100)]
fix version parser for qemu-kvm 1.0
Dietmar Maurer [Wed, 7 Dec 2011 05:36:20 +0000 (06:36 +0100)]
use new AbstractMigrate.pm
Derumier Alexandre [Tue, 6 Dec 2011 08:51:33 +0000 (09:51 +0100)]
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>
Dietmar Maurer [Wed, 30 Nov 2011 08:34:38 +0000 (09:34 +0100)]
correctly set exit code
Dietmar Maurer [Wed, 30 Nov 2011 08:33:43 +0000 (09:33 +0100)]
fix vm_shutdown bug - pass storecfg parameter
Dietmar Maurer [Tue, 29 Nov 2011 11:43:34 +0000 (12:43 +0100)]
cleanup error messages
Dietmar Maurer [Tue, 29 Nov 2011 10:14:26 +0000 (11:14 +0100)]
fix stopall
Dietmar Maurer [Tue, 29 Nov 2011 07:08:56 +0000 (08:08 +0100)]
update version to 2.0-8
Dietmar Maurer [Tue, 29 Nov 2011 05:19:42 +0000 (06:19 +0100)]
be more careful when removing snapshots
Dietmar Maurer [Mon, 28 Nov 2011 12:28:18 +0000 (13:28 +0100)]
we can only resume a VM which is running
Dietmar Maurer [Fri, 25 Nov 2011 12:25:32 +0000 (13:25 +0100)]
try to detect errors before starting the background task
Dietmar Maurer [Fri, 25 Nov 2011 12:20:58 +0000 (13:20 +0100)]
do not call check_lock() for sendkey
Dietmar Maurer [Fri, 25 Nov 2011 07:05:36 +0000 (08:05 +0100)]
activate LVM LVs more carefully
And remove syslog whenever possible (we run most commands as tasks, so
the output is loged anyways)
Dietmar Maurer [Wed, 23 Nov 2011 08:11:07 +0000 (09:11 +0100)]
set correct migrate speed
We overwrite slow kvm default.
Dietmar Maurer [Wed, 23 Nov 2011 06:30:43 +0000 (07:30 +0100)]
improve error message when archive does not exist
Dietmar Maurer [Mon, 21 Nov 2011 05:38:11 +0000 (06:38 +0100)]
fix vzdump stop mode
Dietmar Maurer [Sat, 19 Nov 2011 08:55:01 +0000 (09:55 +0100)]
set version to 2.0-4
Dietmar Maurer [Fri, 18 Nov 2011 08:35:32 +0000 (09:35 +0100)]
fix cpu usage
Dietmar Maurer [Fri, 18 Nov 2011 04:48:52 +0000 (05:48 +0100)]
add cache=unsafe mode
Dietmar Maurer [Thu, 17 Nov 2011 12:36:56 +0000 (13:36 +0100)]
only raise exception when parameter -force is set
Dietmar Maurer [Wed, 9 Nov 2011 10:36:09 +0000 (11:36 +0100)]
update version to 2.0-3
Dietmar Maurer [Wed, 9 Nov 2011 07:26:46 +0000 (08:26 +0100)]
implement monitor API
Dietmar Maurer [Thu, 3 Nov 2011 06:39:01 +0000 (07:39 +0100)]
allow node name 'localhost'
Dietmar Maurer [Tue, 25 Oct 2011 10:19:36 +0000 (12:19 +0200)]
use split_args from PVE::Tools
Dietmar Maurer [Tue, 25 Oct 2011 09:37:56 +0000 (11:37 +0200)]
use shellquote from PVE::Tools
Dietmar Maurer [Thu, 20 Oct 2011 09:18:46 +0000 (11:18 +0200)]
allow to pass volume IDs in create_vm (restore)
Dietmar Maurer [Thu, 20 Oct 2011 08:51:28 +0000 (10:51 +0200)]
test for CLI when using pipe
Dietmar Maurer [Thu, 20 Oct 2011 04:39:45 +0000 (06:39 +0200)]
fix shell quoting
Dietmar Maurer [Thu, 20 Oct 2011 03:54:49 +0000 (05:54 +0200)]
mark iscsi service optional in init.d
Dietmar Maurer [Wed, 19 Oct 2011 09:31:06 +0000 (11:31 +0200)]
better documentation
Dietmar Maurer [Wed, 19 Oct 2011 09:27:42 +0000 (11:27 +0200)]
enable piped input with qmrestore
Derumier Alexandre [Wed, 19 Oct 2011 03:54:37 +0000 (05:54 +0200)]
bugfix scsicontroller
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Tue, 18 Oct 2011 07:14:05 +0000 (09:14 +0200)]
implement unique option for restore
Also try to convert old vlanX to new netX syntax.
Dietmar Maurer [Tue, 18 Oct 2011 05:42:29 +0000 (07:42 +0200)]
destroy old data when restore with --force
Dietmar Maurer [Mon, 17 Oct 2011 11:49:48 +0000 (13:49 +0200)]
implement qmrestore
Restore is a special case of create_vm.
Dietmar Maurer [Fri, 14 Oct 2011 12:47:35 +0000 (14:47 +0200)]
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
Dietmar Maurer [Fri, 14 Oct 2011 12:16:26 +0000 (14:16 +0200)]
depend on open-iscsi
We need to add the iscsi dependency to the init.d script. Else
insserv tries to stops iscsi to early.
Dietmar Maurer [Fri, 14 Oct 2011 09:05:06 +0000 (11:05 +0200)]
fix vzdump plugin for 2.0
Derumier Alexandre [Fri, 14 Oct 2011 08:14:11 +0000 (10:14 +0200)]
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>
Dietmar Maurer [Wed, 12 Oct 2011 05:42:11 +0000 (07:42 +0200)]
remove wrong inline comment
Dietmar Maurer [Tue, 11 Oct 2011 11:28:50 +0000 (13:28 +0200)]
further code cleanups
Dietmar Maurer [Tue, 11 Oct 2011 11:20:59 +0000 (13:20 +0200)]
use 'boolean' for hotplug option
cleanup coding style
Derumier Alexandre [Mon, 10 Oct 2011 14:46:58 +0000 (16:46 +0200)]
add a hook to call vm_devicedel with disk is removed from configuration
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 10 Oct 2011 14:46:57 +0000 (16:46 +0200)]
add a hook to call vm_deviceadd when the disk in config file are added
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 10 Oct 2011 14:46:56 +0000 (16:46 +0200)]
add vm_devicedel sub
use qm monitor to hot-unplug device.
Currently only virtio disk
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 10 Oct 2011 14:46:55 +0000 (16:46 +0200)]
add vm_deviceadd sub
use qm monitor to hotplug pci device
currently only virtio disk
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 10 Oct 2011 14:46:54 +0000 (16:46 +0200)]
add vm_devices_list sub
parse qemu "info pci" result
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 10 Oct 2011 14:46:53 +0000 (16:46 +0200)]
Add hotplug option
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Tue, 11 Oct 2011 09:58:34 +0000 (11:58 +0200)]
add timeout parameter for stop/shotdown
Dietmar Maurer [Mon, 10 Oct 2011 11:17:40 +0000 (13:17 +0200)]
create background tasks
Dietmar Maurer [Wed, 5 Oct 2011 08:16:20 +0000 (10:16 +0200)]
cleanups
Dietmar Maurer [Wed, 5 Oct 2011 07:24:49 +0000 (09:24 +0200)]
use random_ether_addr() from PVE::Tools
Derumier Alexandre [Wed, 5 Oct 2011 01:15:08 +0000 (03:15 +0200)]
remove net6 reservation and add comments for addr1, 2, 29
Derumier Alexandre [Tue, 4 Oct 2011 06:25:37 +0000 (08:25 +0200)]
fix net device pci addr
Derumier Alexandre [Tue, 4 Oct 2011 06:25:36 +0000 (08:25 +0200)]
fix scsi controllers pci addr
Derumier Alexandre [Mon, 3 Oct 2011 12:53:10 +0000 (14:53 +0200)]
fix watchdog pci addr
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Mon, 3 Oct 2011 12:53:09 +0000 (14:53 +0200)]
fix hostpci addr
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Derumier Alexandre [Fri, 30 Sep 2011 11:10:27 +0000 (13:10 +0200)]
Fix balloon0 device pci addr
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
Dietmar Maurer [Thu, 29 Sep 2011 05:43:05 +0000 (07:43 +0200)]
change default boot order to cdn
Dietmar Maurer [Mon, 26 Sep 2011 10:20:05 +0000 (12:20 +0200)]
only list 'qemu' VMs
Dietmar Maurer [Wed, 21 Sep 2011 10:26:59 +0000 (12:26 +0200)]
start after clvm, stop before clvm