]> git.proxmox.com Git - qemu-server.git/log
qemu-server.git
12 years agoimplement unique option for restore
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.

12 years agodestroy old data when restore with --force
Dietmar Maurer [Tue, 18 Oct 2011 05:42:29 +0000 (07:42 +0200)]
destroy old data when restore with --force

12 years agoimplement qmrestore
Dietmar Maurer [Mon, 17 Oct 2011 11:49:48 +0000 (13:49 +0200)]
implement qmrestore

Restore is a special case of create_vm.

12 years agoundo open-iscsi package dependency
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

12 years agodepend on open-iscsi
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.

12 years agofix vzdump plugin for 2.0
Dietmar Maurer [Fri, 14 Oct 2011 09:05:06 +0000 (11:05 +0200)]
fix vzdump plugin for 2.0

12 years agoFix/cleanup disk hotplug
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>
12 years agoremove wrong inline comment
Dietmar Maurer [Wed, 12 Oct 2011 05:42:11 +0000 (07:42 +0200)]
remove wrong inline comment

12 years agofurther code cleanups
Dietmar Maurer [Tue, 11 Oct 2011 11:28:50 +0000 (13:28 +0200)]
further code cleanups

12 years agouse 'boolean' for hotplug option
Dietmar Maurer [Tue, 11 Oct 2011 11:20:59 +0000 (13:20 +0200)]
use 'boolean' for hotplug option

cleanup coding style

12 years agoadd a hook to call vm_devicedel with disk is removed from configuration
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>
12 years agoadd a hook to call vm_deviceadd when the disk in config file are added
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>
12 years agoadd vm_devicedel sub
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>
12 years agoadd vm_deviceadd sub
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>
12 years agoadd vm_devices_list sub
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>
12 years agoAdd hotplug option
Derumier Alexandre [Mon, 10 Oct 2011 14:46:53 +0000 (16:46 +0200)]
Add hotplug option

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoadd timeout parameter for stop/shotdown
Dietmar Maurer [Tue, 11 Oct 2011 09:58:34 +0000 (11:58 +0200)]
add timeout parameter for stop/shotdown

12 years agocreate background tasks
Dietmar Maurer [Mon, 10 Oct 2011 11:17:40 +0000 (13:17 +0200)]
create background tasks

12 years agocleanups
Dietmar Maurer [Wed, 5 Oct 2011 08:16:20 +0000 (10:16 +0200)]
cleanups

12 years agouse random_ether_addr() from PVE::Tools
Dietmar Maurer [Wed, 5 Oct 2011 07:24:49 +0000 (09:24 +0200)]
use random_ether_addr() from PVE::Tools

12 years agoremove net6 reservation and add comments for addr1, 2, 29
Derumier Alexandre [Wed, 5 Oct 2011 01:15:08 +0000 (03:15 +0200)]
remove net6 reservation and add comments for addr1, 2, 29

12 years agofix net device pci addr
Derumier Alexandre [Tue, 4 Oct 2011 06:25:37 +0000 (08:25 +0200)]
fix net device pci addr

12 years agofix scsi controllers pci addr
Derumier Alexandre [Tue, 4 Oct 2011 06:25:36 +0000 (08:25 +0200)]
fix scsi controllers pci addr

12 years agofix watchdog 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>
12 years agofix hostpci addr
Derumier Alexandre [Mon, 3 Oct 2011 12:53:09 +0000 (14:53 +0200)]
fix hostpci addr

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoFix balloon0 device pci addr
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>
12 years agochange default boot order to cdn
Dietmar Maurer [Thu, 29 Sep 2011 05:43:05 +0000 (07:43 +0200)]
change default boot order to cdn

12 years agoonly list 'qemu' VMs
Dietmar Maurer [Mon, 26 Sep 2011 10:20:05 +0000 (12:20 +0200)]
only list 'qemu' VMs

12 years agostart after clvm, stop before clvm
Dietmar Maurer [Wed, 21 Sep 2011 10:26:59 +0000 (12:26 +0200)]
start after clvm, stop before clvm

12 years agocleanup balloon patch - removed debug code
Dietmar Maurer [Fri, 16 Sep 2011 04:57:54 +0000 (06:57 +0200)]
cleanup balloon patch - removed debug code

12 years agoBalloon ugly hack
Derumier Alexandre [Fri, 16 Sep 2011 02:46:26 +0000 (04:46 +0200)]
Balloon ugly hack

add balloon:  parameter to config file

and set balloon at vm start.

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agofix coding style
Dietmar Maurer [Thu, 15 Sep 2011 07:11:27 +0000 (09:11 +0200)]
fix coding style

12 years agofix online migration
Dietmar Maurer [Thu, 15 Sep 2011 06:21:32 +0000 (08:21 +0200)]
fix online migration

12 years agoadd print_pci_addr
Derumier Alexandre [Thu, 15 Sep 2011 04:47:39 +0000 (06:47 +0200)]
add print_pci_addr

contain devices pci addr and bus mapping
return formated string with bus=pci.x,addr=x

also in this commit, use it for virtio disk

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agomove code from qmigrate into PVE/QemuMigrate.pm
Dietmar Maurer [Wed, 14 Sep 2011 10:02:08 +0000 (12:02 +0200)]
move code from qmigrate into PVE/QemuMigrate.pm

and make migrate a subcommand of qm

12 years agouse new PVE::ProcFSTools::read_proc_pid_stat()
Dietmar Maurer [Wed, 14 Sep 2011 05:55:34 +0000 (07:55 +0200)]
use new PVE::ProcFSTools::read_proc_pid_stat()

12 years agodelete trailing whitespaces
Dietmar Maurer [Mon, 12 Sep 2011 10:26:00 +0000 (12:26 +0200)]
delete trailing whitespaces

12 years agoimprove error message whern cdrom is on local storage
Dietmar Maurer [Mon, 12 Sep 2011 10:22:02 +0000 (12:22 +0200)]
improve error message whern cdrom is on local storage

12 years agoAlso test is cdrom is on shared storage
Dietmar Maurer [Mon, 12 Sep 2011 09:39:48 +0000 (11:39 +0200)]
Also test is cdrom is on shared storage

Else we can't migrate.

12 years agocheck hvm support before starting VM
Dietmar Maurer [Mon, 12 Sep 2011 09:03:14 +0000 (11:03 +0200)]
check hvm support before starting VM

12 years agodo not allow to migrate VM which uses local resources
Dietmar Maurer [Mon, 12 Sep 2011 09:01:52 +0000 (11:01 +0200)]
do not allow to migrate VM which uses local resources

But add a --force parameter to overwrite

12 years agofix serial/parallel option - check if device really exists
Dietmar Maurer [Mon, 12 Sep 2011 06:59:05 +0000 (08:59 +0200)]
fix serial/parallel option - check if device really exists

12 years agoremove support for old hostusb syntax
Dietmar Maurer [Mon, 12 Sep 2011 06:41:28 +0000 (08:41 +0200)]
remove support for old hostusb syntax

12 years agoUse 'dd' option ibs/obs instead of bs
Dietmar Maurer [Mon, 12 Sep 2011 06:34:02 +0000 (08:34 +0200)]
Use 'dd' option ibs/obs instead of bs

See http://lists.gnu.org/archive/html/bug-coreutils/2011-03/msg00034.html

12 years agoSimplify serial/parallel option parser
Dietmar Maurer [Mon, 12 Sep 2011 05:44:02 +0000 (07:44 +0200)]
Simplify serial/parallel option parser

Remove verify()/parse() methods, because the json schema does
that job already (pattern option)

12 years agoSimplify schema for serial/parallel options (use pattern)
Dietmar Maurer [Mon, 12 Sep 2011 05:08:01 +0000 (07:08 +0200)]
Simplify schema for serial/parallel options (use pattern)

12 years agoparallel : new qemu syntax V2
Derumier Alexandre [Sun, 11 Sep 2011 07:00:01 +0000 (09:00 +0200)]
parallel : new qemu syntax V2

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoserial : new qemu syntax V2
Derumier Alexandre [Sun, 11 Sep 2011 07:00:00 +0000 (09:00 +0200)]
serial : new qemu syntax V2

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoHostpci rework v4
Derumier Alexandre [Sun, 11 Sep 2011 06:59:59 +0000 (08:59 +0200)]
Hostpci rework v4

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agofix build error
Dietmar Maurer [Fri, 9 Sep 2011 12:18:11 +0000 (14:18 +0200)]
fix build error

12 years agoAdd scsi controllers V2
Derumier Alexandre [Fri, 9 Sep 2011 08:27:21 +0000 (10:27 +0200)]
Add scsi controllers V2

only if scsi disk exists

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoNew method to check if VM uses local resources
Dietmar Maurer [Fri, 9 Sep 2011 10:13:21 +0000 (12:13 +0200)]
New method to check if VM uses local resources

12 years agostart fixing qmigrate (still not working)
Dietmar Maurer [Fri, 9 Sep 2011 10:10:29 +0000 (12:10 +0200)]
start fixing qmigrate (still not working)

12 years agoCheck quorum in startall
Dietmar Maurer [Fri, 9 Sep 2011 09:32:53 +0000 (11:32 +0200)]
Check quorum in startall

12 years agoCheck quorum when starting migration tunnel
Dietmar Maurer [Fri, 9 Sep 2011 08:39:24 +0000 (10:39 +0200)]
Check quorum when starting migration tunnel

12 years agoAdd node parameter to config_file()
Dietmar Maurer [Fri, 9 Sep 2011 07:47:54 +0000 (09:47 +0200)]
Add node parameter to config_file()

That way we can get the filename for VMs on remove nodes.

12 years agoAdd watchdog support
Dietmar Maurer [Thu, 8 Sep 2011 09:39:56 +0000 (11:39 +0200)]
Add watchdog support

12 years agoconvert old monitor syntax to chardev
Derumier Alexandre [Wed, 7 Sep 2011 13:34:41 +0000 (15:34 +0200)]
convert old monitor syntax to chardev

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoadd print_drivedevice_full sub for disk -device syntax
Derumier Alexandre [Wed, 7 Sep 2011 13:34:38 +0000 (15:34 +0200)]
add print_drivedevice_full sub for disk -device syntax

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agochange print_drive sub to new device syntax
Derumier Alexandre [Wed, 7 Sep 2011 13:34:37 +0000 (15:34 +0200)]
change print_drive sub to new device syntax

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoSet max nics=6, max virtio disk=6 and scsi disk to 14 (because we cannot set more...
Derumier Alexandre [Wed, 7 Sep 2011 13:34:36 +0000 (15:34 +0200)]
Set max nics=6, max virtio disk=6 and scsi disk to 14 (because we cannot set more than 7 disk by scsi controller)

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agoAdd digest to prevent concurrent changes
Dietmar Maurer [Wed, 7 Sep 2011 09:41:34 +0000 (11:41 +0200)]
Add digest to prevent concurrent changes

12 years agoAdd delay in startall to reduce load at boot time
Dietmar Maurer [Wed, 7 Sep 2011 07:54:49 +0000 (09:54 +0200)]
Add delay in startall to reduce load at boot time

12 years agoFix startup order
Dietmar Maurer [Tue, 30 Aug 2011 13:11:54 +0000 (15:11 +0200)]
Fix startup order

Also depend on pve-cluster and redhat-cluster-pve.

12 years agorun lintian
Dietmar Maurer [Tue, 30 Aug 2011 13:11:02 +0000 (15:11 +0200)]
run lintian

12 years agoremove unused file qm.old
Dietmar Maurer [Mon, 29 Aug 2011 06:47:09 +0000 (08:47 +0200)]
remove unused file qm.old

moved remaining docs from qm.old to qm

12 years agouse better name for build dir
Dietmar Maurer [Wed, 24 Aug 2011 09:08:33 +0000 (11:08 +0200)]
use better name for build dir

12 years agoremove all generated files
Dietmar Maurer [Wed, 24 Aug 2011 08:18:28 +0000 (10:18 +0200)]
remove all generated files

12 years agoremoved 'dist' target
Dietmar Maurer [Wed, 24 Aug 2011 08:15:12 +0000 (10:15 +0200)]
removed 'dist' target

12 years agoadd .gitignore
Dietmar Maurer [Wed, 24 Aug 2011 08:11:22 +0000 (10:11 +0200)]
add .gitignore

12 years agoremove Changelog, we now have git
Dietmar Maurer [Wed, 24 Aug 2011 08:08:56 +0000 (10:08 +0200)]
remove Changelog, we now have git

12 years agochange license to AGPL3
Dietmar Maurer [Wed, 24 Aug 2011 08:07:52 +0000 (10:07 +0200)]
change license to AGPL3

12 years agoimported from svn 'qemu-server/pve2'
Dietmar Maurer [Tue, 23 Aug 2011 05:47:04 +0000 (07:47 +0200)]
imported from svn 'qemu-server/pve2'