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 
							
						 
					 
					
						
						
						
						
							
						
						
							3da8510790 
							
						 
					 
					
						
						
							
							vncproxy: wait until vnc port is ready  
						
						
						
					 
					
						2012-10-24 08:59:31 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							6aa4651b89 
							
						 
					 
					
						
						
							
							include additional info in snapshot list  
						
						
						
					 
					
						2012-09-13 09:45:48 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							d191446898 
							
						 
					 
					
						
						
							
							pass 'digest', so that GUI can detect changes easily  
						
						... 
						
						
						
						Also use 'current' instead of '__current' 
						
					 
					
						2012-09-13 09:13:39 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							3ee28e388a 
							
						 
					 
					
						
						
							
							improve snapshot delete - add force option to API  
						
						
						
					 
					
						2012-09-12 07:19:38 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							d788cea673 
							
						 
					 
					
						
						
							
							add API to get/set snapshot configuration.  
						
						... 
						
						
						
						You can currently only modify the 'description'. 
						
					 
					
						2012-09-11 09:34:48 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							782f4f753f 
							
						 
					 
					
						
						
							
							add description for snapshots  
						
						
						
					 
					
						2012-09-11 09:00:26 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							982c7f1273 
							
						 
					 
					
						
						
							
							add snapshot time stamp  
						
						
						
					 
					
						2012-09-11 08:45:39 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							0ea6bc6943 
							
						 
					 
					
						
						
							
							snapshot list: include current position  
						
						
						
					 
					
						2012-09-11 08:33:20 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							7b2257a8b5 
							
						 
					 
					
						
						
							
							fix typo  
						
						
						
					 
					
						2012-09-10 12:08:55 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f1baf1df42 
							
						 
					 
					
						
						
							
							fix snapshot permissions - check for VM.Snapshot  
						
						
						
					 
					
						2012-09-10 09:37:51 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							8abd398b8a 
							
						 
					 
					
						
						
							
							register standard option for snapshot name  
						
						
						
					 
					
						2012-09-10 08:55:04 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							154ccdcdbc 
							
						 
					 
					
						
						
							
							improve snapshot REST interface  
						
						
						
					 
					
						2012-09-10 07:58:06 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							7e7d7b6113 
							
						 
					 
					
						
						
							
							split snapshot into separate methods.  
						
						... 
						
						
						
						We also start background tasks now. I also removed the 'digest'and 'force' parameters, because I think we do not need them here. 
						
					 
					
						2012-09-10 07:32:33 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							22c377f0b7 
							
						 
					 
					
						
						
							
							update config on snapshot commands  
						
						
						
					 
					
						2012-09-07 13:07:23 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							9dbd1ee434 
							
						 
					 
					
						
						
							
							add qm snapshot command  
						
						... 
						
						
						
						qm snapshot <vmid> <action> <snapshotname> --vmstate --freezefs
action : create|rollback|delete
vmstate : save the vmstate
freezefs: freezefs with qemu-ga
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-09-06 10:46:49 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							9bf371a66b 
							
						 
					 
					
						
						
							
							use mbps instead of bps  
						
						... 
						
						
						
						The new parser automatically converts old bps to mbps. 
						
					 
					
						2012-08-30 07:57:59 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							af30308f36 
							
						 
					 
					
						
						
							
							we call vm_stop to target host,  
						
						... 
						
						
						
						to be sure that kvm process is killed (but it should kill itself),
and deactivate volumes
I slightly modified this patch (orig. from Alexandre) so that it apply cleanly. 
						
					 
					
						2012-08-23 10:28:41 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							7e8dcf2cb0 
							
						 
					 
					
						
						
							
							add migratedfrom param to start vm with conf file an another node  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-08-23 07:18:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f91b2e4554 
							
						 
					 
					
						
						
							
							fix for resize: final cleanups  
						
						
						
					 
					
						2012-08-08 09:25:54 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							2f48a4f522 
							
						 
					 
					
						
						
							
							fix for resize: only allow to resize one disk.  
						
						
						
					 
					
						2012-08-08 08:26:58 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							3b2773f606 
							
						 
					 
					
						
						
							
							fix for resize: remove useless permission checks  
						
						
						
					 
					
						2012-08-08 07:36:51 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							614e3941a3 
							
						 
					 
					
						
						
							
							fix for resize: avoid conflicting path  
						
						
						
					 
					
						2012-08-08 07:34:36 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							0d02881ce5 
							
						 
					 
					
						
						
							
							qm : add resize  
						
						... 
						
						
						
						qm resize <vmid> -ide1 +10(G|M|K)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-08-08 07:25:50 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							24afaca0b6 
							
						 
					 
					
						
						
							
							add size hint to drive options  
						
						... 
						
						
						
						We now store the size when we create a drive. This is just a hint, but
good enough to display on the GUI. We can now avoid to query the storage in
vmstatus(). 
						
					 
					
						2012-08-01 13:22:43 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							93ae06e180 
							
						 
					 
					
						
						
							
							Avoid warnings about undefined values  
						
						
						
					 
					
						2012-08-01 13:15:57 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							eabe0da02d 
							
						 
					 
					
						
						
							
							bug fix: allow to set devices directly (-ide1 /dev/XYZ)  
						
						
						
					 
					
						2012-07-27 11:59:42 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							0f56d571e4 
							
						 
					 
					
						
						
							
							implement qmp block_set_io_throttle on running vm config update  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-07-16 09:20:49 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							03a33f3005 
							
						 
					 
					
						
						
							
							new option for vmstatus to query $full informations from KVM using qmp  
						
						
						
					 
					
						2012-07-13 09:31:39 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							7b7c6d1b5d 
							
						 
					 
					
						
						
							
							use qmp for everything - remove old monitor code  
						
						
						
					 
					
						2012-07-13 09:00:21 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							ce156282e6 
							
						 
					 
					
						
						
							
							convert eject cdrom monitor command to qmp  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-06-26 06:39:53 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							35cb731c42 
							
						 
					 
					
						
						
							
							check if volume exist on volume update.  
						
						... 
						
						
						
						for the moment we check only if the real path exist on the host.
This doesn't work for "virtual" device that host doesn't see.(like rbd, virtio-scsi,...).
This add a check if the volid exist in the storage.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-06-25 06:51:17 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							4fc5242406 
							
						 
					 
					
						
						
							
							fix pool permission checks on create  
						
						... 
						
						
						
						We do not need Permission.Modify on the pool. 
						
					 
					
						2012-05-30 10:13:51 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							7e4e69a6d2 
							
						 
					 
					
						
						
							
							die if vdisk_free fail on delete_drive  
						
						... 
						
						
						
						replace the warn by a die.
 Currently, if we vdisk_free a disk and something goes wrong (network
 storage problem by example), the drive is removed from config and we
 cannot retry to remove it later.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2012-05-29 07:59:06 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							5d0094ead9 
							
						 
					 
					
						
						
							
							avoid warning if vm does not belong to a pool  
						
						
						
					 
					
						2012-05-23 07:42:55 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							22d646a733 
							
						 
					 
					
						
						
							
							fix bug in storage availability check (migrate)  
						
						
						
					 
					
						2012-04-07 08:26:51 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							6e5c4da7ef 
							
						 
					 
					
						
						
							
							fix typo  
						
						
						
					 
					
						2012-02-07 10:44:43 +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 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							502d18a2e7 
							
						 
					 
					
						
						
							
							correctly add/remove VMs to pool  
						
						
						
					 
					
						2012-02-03 13:44:12 +01:00