Dietmar Maurer
51ccb37af5
bump version to 2.3-9
...
depend on pve-qemu-kvm >= 1.4-1
2013-02-13 10:40:58 +01:00
Alexandre Derumier
abebe2f16c
qemu 1.4 fix : rename stats-polling-interval to guest-stats-polling-interval
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-02-13 10:00:41 +01:00
Dietmar Maurer
ebb5555800
fix tar restore: correctly check if VM config already exists
2013-01-28 09:54:00 +01:00
Dietmar Maurer
051347aab2
allow to suspend/resume VM during backup
...
bump version to 2.3-7
2013-01-17 10:25:39 +01:00
Dietmar Maurer
19599cd903
cancel backup before stopping the vm
...
bump version ro 2.3-6
2013-01-16 13:24:16 +01:00
Dietmar Maurer
06094efd4d
allow to run as qemu-system-x86_64
...
This is usefull to debug.
2013-01-16 13:19:24 +01:00
Dietmar Maurer
907ea89128
fix bug #307 : correctly restore disk settings
...
bump version to 2.3-5
2013-01-07 06:49:11 +01:00
Alexandre Derumier
4ec05c4cc3
balloon: don't set balloon && polling interval at start when livemigrate
...
We don't need to set balloon value and polling interval when a vm is coming from a livemigrate.
(Values are keep in guest memory)
So with autoballooning, this avoid to set the ballon size at ballon_min value when the vm is migrated
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-01-04 12:07:59 +01:00
Dietmar Maurer
27d51e240f
bump version to 2.3-4
2013-01-04 07:03:14 +01:00
Dietmar Maurer
ed2213500d
vma restore: only delete disks contained in backup.
...
cleanup: remove unnecessary 'PVE::QemuServer::' prefix.
2013-01-04 06:57:11 +01:00
Stefan Priebe
19168b91ae
QemuMigrate: phase2_cleanup misses migrate_cancel
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-01-02 06:36:53 +01:00
Dietmar Maurer
8e2100f9f2
bump version to 2.3-3
2013-01-02 06:34:51 +01:00
Alexandre Derumier
628e9a2b67
fix Bug #293 : CDROM size not reset when set to use no media
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-01-02 06:30:24 +01:00
Alexandre Derumier
044321910c
add set migrate_downtime default value to 0.1 && add number type
...
can be integer or float
ex:
1
1.0
0.3
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-31 07:21:00 +01:00
Stefan Priebe
865ef13278
implement dynamic migration_downtime
...
changelog:
- increment counter also if remaining memory equal 0 (qemu 1.4 migration code)
- only increment coutner and set down_time if memory transfert have occured. (to avoid too fast downtime increment)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-31 07:20:56 +01:00
Dietmar Maurer
7bfdeb5f90
allow manual ballooning if shares is set to zero
2012-12-28 14:06:46 +01:00
Dietmar Maurer
074e01c819
correctly set shares (allow 0)
2012-12-28 14:05:58 +01:00
Dietmar Maurer
ccd5438fa3
fix permission check for option 'shares'
2012-12-28 13:04:19 +01:00
Alexandre Derumier
1ac0d2ee0c
api2: vm_feature
...
return true/false if vm has feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-28 07:49:37 +01:00
Alexandre Derumier
7ea975efe0
add sub has_feature
...
loop over each disk of the vm config file to find if feature is available.
If one of the disk doesn't have the feature, we return undef, else return 1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-28 07:48:33 +01:00
Alexandre Derumier
135007c099
add downtime && expected_downtime query-migrate info
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-27 12:45:56 +01:00
Alexandre Derumier
ab399b7c5d
add error log for qm start of the target vm.
...
Can be usefull to see what's wrong if target vm doesn't start (missing storage, missing bridge,...)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-27 12:44:34 +01:00
Alexandre Derumier
3beb415bd7
move qmp migrate_set_down && migrate_set_speed to qemumigrate
...
so we can set the values when the vm is running
also use int() to get json working
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-12-27 12:43:39 +01:00
Dietmar Maurer
95381ce06c
use vm_mon_cmd_nocheck at startup
...
To avoid errors on migration.
2012-12-20 12:54:02 +01:00
Dietmar Maurer
4bdb05142c
report balloon_min in bytes (not MBs)
2012-12-19 09:08:16 +01:00
Dietmar Maurer
8d9ae0d21e
enable balloon by default, unless explicitly disabled
...
So that we can get memory stats from the guest.
2012-12-19 07:40:51 +01:00
Dietmar Maurer
8b1accf7ce
add shares property for auto-ballooning
...
Also allow to set 'balloon: 0' to disable the ballon driver.
2012-12-19 07:24:39 +01:00
Dietmar Maurer
64e7fcf2e2
use new query-balloon to get used/free memory
...
Also set stats-polling-interval on the balloon driver at startup.
bump version to 2.3-2
2012-12-18 12:52:18 +01:00
Dietmar Maurer
91bd6c909b
include new qemu backup feature
...
We can still restore old tar files. But new backups always use new vma
format.
Also moved rescan code from qm into PVE::Qemuserver
bump version to 2.3-1
2012-12-13 12:49:52 +01:00
Dietmar Maurer
dd06a74b75
bump version to 2.0-71
2012-12-11 11:18:37 +01:00
Dietmar Maurer
a0e7a5d00d
also support getfd
2012-12-06 09:01:56 +01:00
Dietmar Maurer
558f16446e
add support for add-fd command
...
We can now pass open file descriptors to qemu.
2012-12-06 08:39:03 +01:00
Dietmar Maurer
8afd0c622f
show better error message if bridge does not exist
2012-12-06 07:56:11 +01:00
Dietmar Maurer
98a0dc5e2a
cleanup cpu types
...
Remove: rhel specific types cpu64-rhel6 cpu64-rhel5
Add: SandyBridge Haswell Opteron_G4 Opteron_G5
2012-11-27 06:40:59 +01:00
Dietmar Maurer
fa7ae70505
fix version parser for qemu 1.3
2012-11-23 07:45:46 +01:00
Dietmar Maurer
42ca89538d
qmb balloon command expects bytes
2012-11-16 06:19:56 +01:00
Dietmar Maurer
075b417acd
vzdump: store drive in correct order (sort) to avoid confusion
2012-11-05 06:26:25 +01:00
Dietmar Maurer
445f06cdb1
fix allocation size in qmrestore
2012-11-03 07:55:11 +01:00
Dietmar Maurer
4dac70e576
vzdump: restore sata drives correctly
2012-11-02 07:48:42 +01:00
Dietmar Maurer
c46eccbfc1
bump version to 2.0-65
2012-10-31 13:58:46 +01:00
Stefan Priebe
6bb726c903
PVE/API2/Qemu: remove hardcoded blowfish cipher
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 13:57:58 +01:00
Dietmar Maurer
b3ea07f71e
fix memory leak in QMP Client (many thanks to Stefan!)
2012-10-29 12:15:43 +01:00
Dietmar Maurer
c811a3c606
fix bug in vmtar
...
Incompatiple types (size_t/ssize_t) can make vmtar to ignore errors. We now compile
with -Werror and -Wtype-limits to detect such things.
2012-10-25 10:01:24 +02:00
Dietmar Maurer
3da8510790
vncproxy: wait until vnc port is ready
2012-10-24 08:59:31 +02:00
Dietmar Maurer
a70ebde31c
add 'win8' ostype
...
Use same defaults as win7 for now.
2012-10-23 09:36:18 +02:00
Dietmar Maurer
15a2e229e0
bump version to 2.0-60
2012-10-22 12:27:14 +02:00
Alexandre Derumier
ff166084d8
pve-bridge : use mtu of the bridge for tap interface
...
currently if the bridge have a mtu of 9000, when putting a tap interface on it (mtu 1500 by default),
the mtu of the bridge goes to 1500.
we want that the mtu of the tap interface equal the mtu of the bridge
correcting bug:
https://bugzilla.proxmox.com/show_bug.cgi?id=258
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-09-28 16:18:45 +02:00
Dietmar Maurer
585b6e2839
disable vzdump for VM containing snapshots
2012-09-27 09:42:48 +02:00
Dietmar Maurer
8c55950564
fix bug 251: use new command line syntax
2012-09-26 12:47:32 +02:00
Dietmar Maurer
1a858769ba
qm rescan: skip vm state files
2012-09-25 10:27:35 +02:00