Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							cc7b93ec0c 
							
						 
					 
					
						
						
							
							convert qmrestore into a PVE::CLI class  
						
						 
						
						... 
						
						
						
						and install bash completion helpers. 
						
					 
					
						2015-10-05 13:10:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f3e76e36bc 
							
						 
					 
					
						
						
							
							covert qm into a PVE::CLI class, enable bash completions  
						
						 
						
						
						
					 
					
						2015-09-06 15:44:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							7498eb64a3 
							
						 
					 
					
						
						
							
							correctly set and remove lock  
						
						 
						
						
						
					 
					
						2015-02-15 09:04:30 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							1e7f272634 
							
						 
					 
					
						
						
							
							implement API/CLI to get pending changes  
						
						 
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							983d458216 
							
						 
					 
					
						
						
							
							cleanup VNC websocket patch  
						
						 
						
						... 
						
						
						
						Pass ticket via ENV{LC_PVE_TICKET} to vncproxy. Also remove 'unsecure' option, because
this is implied if we want a websocket connection. 
						
					 
					
						2014-06-17 08:06:32 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							213ef632af 
							
						 
					 
					
						
						
							
							fix 'qm unlink' command syntax  
						
						 
						
						... 
						
						
						
						It is not possible to use idlist as argument, because our getoption parser
can't handle that. So we simply pass idlist as option, for example
 # qm unlink 100 --idlist 'ide2,ide3' 
						
					 
					
						2013-12-04 06:21:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							990fc5e22e 
							
						 
					 
					
						
						
							
							use warnings instead of global -w flag  
						
						 
						
						
						
					 
					
						2013-10-01 13:14:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f409f8dc50 
							
						 
					 
					
						
						
							
							improve API docu  
						
						 
						
						
						
					 
					
						2013-07-31 07:41:24 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							c243fc8af6 
							
						 
					 
					
						
						
							
							implement 'qm terminal' to open terminal via serial device  
						
						 
						
						
						
					 
					
						2013-07-31 07:37:09 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							43bc02a921 
							
						 
					 
					
						
						
							
							rename move to move_disk  
						
						 
						
						... 
						
						
						
						Because that API call can only move a single disk (not the whole VM). 
						
					 
					
						2013-05-31 08:46:21 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							e2cd75fa65 
							
						 
					 
					
						
						
							
							move_vm: make it work with PVE::QemuServer:::clone_disk  
						
						 
						
						... 
						
						
						
						- use POST instead of PUT (this is not idempotent).
- return task ID
- use declarative permission check 
						
					 
					
						2013-05-29 12:07:56 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							586bfa78d1 
							
						 
					 
					
						
						
							
							add qm move (storage migration)  
						
						 
						
						... 
						
						
						
						qm move <vmid> <disk> <storage> --format [raw|qcow2|vmdk]
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2013-05-29 11:23:45 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							9418baad81 
							
						 
					 
					
						
						
							
							remane copy to clone  
						
						 
						
						
						
					 
					
						2013-05-02 11:42:22 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							6116f72902 
							
						 
					 
					
						
						
							
							implement shared file locks  
						
						 
						
						... 
						
						
						
						and add a first prototype for copy_vm 
						
					 
					
						2013-04-29 09:30:15 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Stefan Priebe 
							
						 
					 
					
						
						
						
						
							
						
						
							7aca710470 
							
						 
					 
					
						
						
							
							qemu-server: vncproxy: qm: wait max 10s for the socket if it does not exist  
						
						 
						
						... 
						
						
						
						Signed-off-by: Stefan Priebe <s.priebe@profihost.ag> 
						
					 
					
						2013-03-01 06:41:49 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							04a69bb4fe 
							
						 
					 
					
						
						
							
							add template_create  
						
						 
						
						... 
						
						
						
						qm template <vmid> [-disk virtio0]
convert a full vm to a template (or only a disk if specify)
we orignal disk to /base (file) or base- (lvm,rbd,sheepdog,nexenta)
we create a snapshot @base if storage need it for clone
we protect the volume or snapshot
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2013-02-15 07:50:32 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							1a858769ba 
							
						 
					 
					
						
						
							
							qm rescan: skip vm state files  
						
						 
						
						
						
					 
					
						2012-09-25 10:27:35 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							c21536ab78 
							
						 
					 
					
						
						
							
							implement 'qm rescan' to update disk sizes and unused disk info  
						
						 
						
						
						
					 
					
						2012-08-20 09:23:00 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							9df5cbcc70 
							
						 
					 
					
						
						
							
							implement vm_human_monitor_command using qmp  
						
						 
						
						
						
					 
					
						2012-07-13 07:30:13 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							1858638fe3 
							
						 
					 
					
						
						
							
							replace change_config_nolock with update_config_nolock  
						
						 
						
						... 
						
						
						
						We now use cfs_file_write() in order to avoid race conditions between
file IO and cfs operations (read after write works now). 
						
					 
					
						2012-02-02 14:18:41 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							ac021d2e1d 
							
						 
					 
					
						
						
							
							change parameter order for migrate  
						
						 
						
						
						
					 
					
						2011-12-08 11:08:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							2372d11498 
							
						 
					 
					
						
						
							
							correctly set exit code  
						
						 
						
						
						
					 
					
						2011-11-30 09:36:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							ff1a2432c8 
							
						 
					 
					
						
						
							
							activate LVM LVs more carefully  
						
						 
						
						... 
						
						
						
						And remove syslog whenever possible (we run most commands as tasks, so
the output is loged anyways) 
						
					 
					
						2011-11-25 08:08:27 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							5fdbe4f023 
							
						 
					 
					
						
						
							
							create background tasks  
						
						 
						
						
						
					 
					
						2011-10-10 13:17:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							3ea94c60d2 
							
						 
					 
					
						
						
							
							move code from qmigrate into PVE/QemuMigrate.pm  
						
						 
						
						... 
						
						
						
						and make migrate a subcommand of qm 
						
					 
					
						2011-09-14 13:33:34 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f669a2b1fb 
							
						 
					 
					
						
						
							
							Check quorum in startall  
						
						 
						
						
						
					 
					
						2011-09-09 11:32:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							32f9da6804 
							
						 
					 
					
						
						
							
							Check quorum when starting migration tunnel  
						
						 
						
						
						
					 
					
						2011-09-09 11:28:18 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							554ac7e7b7 
							
						 
					 
					
						
						
							
							Add digest to prevent concurrent changes  
						
						 
						
						
						
					 
					
						2011-09-07 11:41:34 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							9db78b5ee6 
							
						 
					 
					
						
						
							
							Add delay in startall to reduce load at boot time  
						
						 
						
						
						
					 
					
						2011-09-07 09:54:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f661e766b7 
							
						 
					 
					
						
						
							
							remove unused file qm.old  
						
						 
						
						... 
						
						
						
						moved remaining docs from qm.old to qm 
						
					 
					
						2011-08-29 08:47:09 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							1e3baf05f2 
							
						 
					 
					
						
						
							
							imported from svn 'qemu-server/pve2'  
						
						 
						
						
						
					 
					
						2011-08-23 07:47:04 +02:00