Alexandre Derumier
affd2f88ea
add diskio throttling option to drive
...
This add disk io limit to drive options.
I also add the qemu monitor command, but I din't have added yet to Qemu.pm
>From qemu mailing:
Some available features follow as below:
(1) global bps limit.
-drive bps=xxx in bytes/s
(2) only read bps limit
-drive bps_rd=xxx in bytes/s
(3) only write bps limit
-drive bps_wr=xxx in bytes/s
(4) global iops limit
-drive iops=xxx in ios/s
(5) only read iops limit
-drive iops_rd=xxx in ios/s
(6) only write iops limit
-drive iops_wr=xxx in ios/s
(7) the combination of some limits.
-drive bps=xxx,iops=xxx
Known Limitations:
(1) #1 can not coexist with #2 , #3
(2) #4 can not coexist with #5 , #6
(3) When bps/iops limits are specified to a small value such as 511 bytes/s,
this VM will hang up. We are considering how to handle this senario.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-05-14 06:48:05 +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
59411c4e10
new startup option to define startup order
2012-04-19 14:28:05 +02:00
Dietmar Maurer
71c11a8301
fix bug #147 : allow to set migrate_downtime to 0
2012-04-11 10:54:04 +02:00
Dietmar Maurer
084d6a59bd
increase package version to release directsync cache mode
2012-04-11 08:52:46 +02:00
Alexandre Derumier
e482cec30b
add directsync cache mode
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-04-10 09:21:28 +02:00
Dietmar Maurer
22d646a733
fix bug in storage availability check (migrate)
2012-04-07 08:26:51 +02:00
Dietmar Maurer
b7e0c8bf39
use '-no-kvm-pit-reinjection -no-hpet' for win7 and w2k8
2012-04-05 12:34:33 +02:00
Dietmar Maurer
d7810bc123
fix bug #134 : allow to pass file names to qmrestore and 'qm set'
2012-04-02 10:52:05 +02:00
Dietmar Maurer
47152e2ee3
fix bug #12 : check storage availability early (migrate)
2012-03-30 09:13:31 +02:00
Dietmar Maurer
8b192abf57
fix bug #121 : activate volumes correctly
2012-03-29 11:09:52 +02:00
Dietmar Maurer
036e0e2b4b
correctly pass hexadecimal numbers with prefix 0x to kvm
...
This is related to this change in kvm:
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=97aa6e9b8f9df37add21d86fac1a9ca6ce7df9b7
2012-03-29 07:12:43 +02:00
Dietmar Maurer
9f03d50d5c
use new network setup code from PVE::Network (libpve-common-perl)
2012-03-28 10:42:02 +02:00
Dietmar Maurer
cce3774992
do not use clusvcadm if we start using 'starturi' parameter
2012-03-27 12:21:15 +02:00
Dietmar Maurer
3be30d6325
avoid recursive calls to clusvcadm
2012-03-27 10:55:59 +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
88fc87b467
fix bug #97 : execute 'clusvcadm' commands for HA managed VMs
2012-03-27 10:37:39 +02:00
Dietmar Maurer
191435c643
only wait 1 second to aquire lock on vm_create
...
Waiting is not necessary, and we want to avoid delays in the GUI.
2012-03-27 09:02:50 +02:00
Dietmar Maurer
18744ba33f
corretcly use tag instead of vlan
2012-03-22 06:30:43 +01:00
Derumier Alexandre
5070f384d1
renamme vlan option to tag
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2012-03-22 06:27:58 +01:00
Dietmar Maurer
fc1ddcdcae
use Digest::SHA instead of Digest::SHA1
2012-03-20 12:25:08 +01: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
Derumier Alexandre
3c720aeac6
add vlan for testing
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2012-03-20 06:12:46 +01:00
Dietmar Maurer
28ef82d3be
use scsi inquiry to test if we can use the scsi-block driver
...
This is basically the same test as done inside the scsi-block driver. This also works for device-mapper multipath devices.
2012-03-19 10:39:43 +01:00
Dietmar Maurer
7fabe17df2
restrict name to DNS format 'dns-name'
2012-03-13 07:00:27 +01:00
Dietmar Maurer
961bfcb224
fix bug 102: remove stale status file on stop
2012-03-01 12:54:06 +01:00
Dietmar Maurer
0581fe4fd6
save description as comment
2012-03-01 08:13:14 +01:00
Dietmar Maurer
3f05af61ff
fix lvremove call: avoid 'Not a CODE reference' warning
2012-03-01 06:37:18 +01:00
Dietmar Maurer
684bcdd7a4
revert tablet mice fix
2012-02-29 09:47:31 +01:00
Dietmar Maurer
ee88df8148
bump version for live migration fix
2012-02-29 06:51:34 +01:00
Derumier Alexandre
ce332eeb58
fix tablet mice as default when live migrate
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2012-02-29 06:49:57 +01:00
Dietmar Maurer
b969cc68fd
fix vzdump on stopped vm
2012-02-24 07:40:12 +01:00
Dietmar Maurer
0aaaa6a4d1
bump version to release cpu model improvements
2012-02-22 07:19:10 +01:00
Derumier Alexandre
5b805e5081
Support new cpu models
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2012-02-22 07:18:07 +01:00
Dietmar Maurer
f5782fd0ad
fix cdrom permission check
2012-02-20 07:17:47 +01:00
Dietmar Maurer
49f9db93c0
correctly remove cdrom and iscsi devices
2012-02-15 10:48:55 +01:00
Dietmar Maurer
a4788a6e14
use correct format to print time_t (%zd)
2012-02-13 11:22:03 +01:00
Dietmar Maurer
da21653bfb
ignore -tdf (avoid kvm warning) - this is no longer needed
2012-02-13 11:18:09 +01:00
Dietmar Maurer
3e21388903
move test for block device to vmtar.c
2012-02-10 07:47:46 +01:00
Dietmar Maurer
15fa30e3ec
use lseek to get size of block devices
2012-02-08 06:42:14 +01:00
Dietmar Maurer
a9a94d59f3
only use sparse file scan for files
2012-02-07 11:55:57 +01:00
Dietmar Maurer
6e5c4da7ef
fix typo
2012-02-07 10:44:43 +01:00
Dietmar Maurer
efb71b0f8c
do not write /etc/mtab when mounting snapshots
2012-02-07 10:41:13 +01:00
Dietmar Maurer
fad02a160f
support new lzo compression
2012-02-07 10:40:28 +01:00
Dietmar Maurer
ab6b35dfdf
fix typo
2012-02-06 12:52:29 +01:00
Dietmar Maurer
ba68cf0938
use check_volume_access from $rpcenv
2012-02-06 12:36:16 +01:00
Dietmar Maurer
fcbb753e3c
use check() instead of check_storage_perm()
2012-02-06 12:19:35 +01:00
Derumier Alexandre
95d6343bfa
don't try to hotplug/unplug is device exist/don't exist
...
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
2012-02-06 07:26:38 +01:00
Dietmar Maurer
502d18a2e7
correctly add/remove VMs to pool
2012-02-03 13:44:12 +01:00