Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							ea2106258b 
							
						 
					 
					
						
						
							
							boot order permissions change  
						
						... 
						
						
						
						to change to boot order it is needed to assign a user the
VM.Config.Disk privilege set with the add/modify/delete disk
permissions -> now the patch allows the boot order to be (re)defined
with the VM.Config.Options set - the modify any other VM configuration 
						
					 
					
						2015-09-26 11:06:05 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							284fa4c728 
							
						 
					 
					
						
						
							
							VM protection mode  
						
						... 
						
						
						
						[PATCH v2] changes:
- changed call also for remove VM 
						
					 
					
						2015-09-21 06:36:01 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							0152058a03 
							
						 
					 
					
						
						
							
							code cleanups  
						
						
						
					 
					
						2015-09-17 13:10:19 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							4d8d55f155 
							
						 
					 
					
						
						
							
							VM protection mode  
						
						... 
						
						
						
						changes:
- added common check_protection subroutine
- disk removal prevention
- restore over protected VM prevention
- changed man page message 
						
					 
					
						2015-09-17 13:05:37 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							65605ff730 
							
						 
					 
					
						
						
							
							avoid warning about undefined value  
						
						
						
					 
					
						2015-09-10 09:37:55 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							335af808a4 
							
						 
					 
					
						
						
							
							improve bash completion  
						
						
						
					 
					
						2015-09-07 08:13:07 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							65e866e5da 
							
						 
					 
					
						
						
							
							implement a few bash completion helpers  
						
						
						
					 
					
						2015-09-06 16:01:59 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							cb0e4540f7 
							
						 
					 
					
						
						
							
							VM protection mode added  
						
						... 
						
						
						
						used to prevent an unintended virtual machine remove operation
v3 changes:
- changed man page message
- removed protection parameter (where not needed) 
						
					 
					
						2015-09-06 11:31:05 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							952e3ac30f 
							
						 
					 
					
						
						
							
							cleanup previous patch  
						
						
						
					 
					
						2015-08-28 18:16:08 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							e9f2f8e5f9 
							
						 
					 
					
						
						
							
							HA resources check before destroying vm  
						
						
						
					 
					
						2015-08-28 15:32:44 +02:00 
						 
				 
			
				
					
						
							
							
								Thomas Lamprecht 
							
						 
					 
					
						
						
						
						
							
						
						
							7f9e28e45c 
							
						 
					 
					
						
						
							
							fix 'uninitialized value in concat' due to unnamed VM  
						
						... 
						
						
						
						This is an minor fix which let's you start the spice console on an
unnamed VM without getting the 'Use of uninitialized value in
concatenation' error.
Also changes the trailing comma from the $conf definition lineto an
semicolon.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> 
						
					 
					
						2015-08-28 10:36:51 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							457010cc48 
							
						 
					 
					
						
						
							
							clone vm firewall config file  
						
						... 
						
						
						
						Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com> 
						
					 
					
						2015-08-25 06:49:26 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Link 
							
						 
					 
					
						
						
						
						
							
						
						
							a78ea5dfe9 
							
						 
					 
					
						
						
							
							fix bug  #688 : prevent copy unused disks in the config.  
						
						
						
					 
					
						2015-08-20 12:28:05 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							e9abcde681 
							
						 
					 
					
						
						
							
							fix bug  #603 : vmid.fw file not deleted  
						
						... 
						
						
						
						Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com> 
						
					 
					
						2015-08-19 15:30:00 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Link 
							
						 
					 
					
						
						
						
						
							
						
						
							d662790a14 
							
						 
					 
					
						
						
							
							fix bug  #517 : improve error message  
						
						... 
						
						
						
						Get a understandble message,
if someone try to increase a qcow2 image where one or more snapshots reside 
						
					 
					
						2015-08-18 16:35:00 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							1bc483f6bc 
							
						 
					 
					
						
						
							
							adapt /config and /pending API calls to force-delete  
						
						
						
					 
					
						2015-08-18 16:29:10 +02:00 
						 
				 
			
				
					
						
							
							
								Alen Grizonic 
							
						 
					 
					
						
						
						
						
							
						
						
							37f438057a 
							
						 
					 
					
						
						
							
							remove vm access permissions after destroy  
						
						... 
						
						
						
						removed duplicated code which was used in
PVE::AccessControl -> now in PVE::API2::Qemu
Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com> 
						
					 
					
						2015-08-14 08:07:24 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							3dc38fbb74 
							
						 
					 
					
						
						
							
							pending-delete: remember force-deletes  
						
						... 
						
						
						
						The -force flag didn't have any effect since the pending
changes didn't carry over the the flag.
Now forced deletes have an exclamation mark prepended to the
option name. 
						
					 
					
						2015-08-13 11:08:45 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							af0eba7e35 
							
						 
					 
					
						
						
							
							pass port family to next_*_port() calls  
						
						
						
					 
					
						2015-05-12 12:28:56 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							d483fa010c 
							
						 
					 
					
						
						
							
							Switch from netcat-traditional to netcat6  
						
						... 
						
						
						
						netcat6 supports both ipv4 and ipv6, contrary to netcat-traditional.
Additionally rather than using the alternatives-managed /bin/nc path,
/bin/nc6 is now used which always points to the netcat6 implementation,
allowing us to drop the netcat-openbsd conflict entry. 
						
					 
					
						2015-05-12 06:39:08 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							c44291cd1a 
							
						 
					 
					
						
						
							
							fix ha resource names  
						
						
						
					 
					
						2015-04-17 13:10:32 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							2003f0f85b 
							
						 
					 
					
						
						
							
							depend on pve-ha-manager  
						
						
						
					 
					
						2015-03-27 12:47:56 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							5b584381dd 
							
						 
					 
					
						
						
							
							use new PVE::Cluster::vm_is_ha_managed  
						
						
						
					 
					
						2015-03-02 10:31:46 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							025e1d900b 
							
						 
					 
					
						
						
							
							correct use hash with keys  
						
						
						
					 
					
						2015-02-27 12:58:41 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							de9d1e5574 
							
						 
					 
					
						
						
							
							add vcpus option  
						
						... 
						
						
						
						vcpus = current allocate vpus to virtual machine
maxcpus is now compute from $sockets*cores
vcpus = maxcpus if not defined
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2015-01-22 11:01:15 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							0e54e1c8bd 
							
						 
					 
					
						
						
							
							pending api : fix parsing 0 value  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2015-01-15 06:22:09 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							4c8365fafa 
							
						 
					 
					
						
						
							
							fix previous commit: forgot API definitions  
						
						
						
					 
					
						2015-01-08 09:04:18 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							d3df8cf350 
							
						 
					 
					
						
						
							
							update_vm api : add optionnal revert option  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 11:09:30 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							6d89b548e1 
							
						 
					 
					
						
						
							
							add optionnal current param to config api  
						
						... 
						
						
						
						config api return by default the pending config, like this it don't break current behaviour
Add an optionnal current param to get to current running config
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 08:31:32 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							df2a2dbbe1 
							
						 
					 
					
						
						
							
							API: list new 'pending' method  
						
						
						
					 
					
						2015-01-07 08:14:14 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							915d3481b3 
							
						 
					 
					
						
						
							
							remove unused code  
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:44:45 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							a05cff86e7 
							
						 
					 
					
						
						
							
							vmconfig_hotplug_pending : add update_disk  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:44:30 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							3eec576714 
							
						 
					 
					
						
						
							
							vmconfig_hotplug_pending : add update_net  
						
						... 
						
						
						
						Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:43:11 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							3a11fadb41 
							
						 
					 
					
						
						
							
							vmconfig_hotplug_pending: improve hotplug error handling  
						
						... 
						
						
						
						Simplify code, and allow to partially apply pending changes using
a new $selection parameter.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:48 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							c750e90abd 
							
						 
					 
					
						
						
							
							vmconfig_cleanup_pending: new method to clenup setting in [PENDING]  
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:39 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							6ca8b69870 
							
						 
					 
					
						
						
							
							fix balloon consistency check (consider pending changes)  
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:22 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							055d554dfa 
							
						 
					 
					
						
						
							
							vm_start: apply pending changes  
						
						... 
						
						
						
						I move related helper methods into PVE::QemuServer.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:17 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							3900164009 
							
						 
					 
					
						
						
							
							implement vmconfig_apply_pending for stopped VM  
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:11 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							202d1f45e5 
							
						 
					 
					
						
						
							
							update_vm_api: always write into pending section  
						
						... 
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2015-01-07 06:42:06 +01:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Link 
							
						 
					 
					
						
						
						
						
							
						
						
							af9110ddd7 
							
						 
					 
					
						
						
							
							Fix in PVE::QemuServer::snapshot_create  
						
						... 
						
						
						
						remove the freezefs flag.
If Qemu Guest Agent flag is set in config the vm filesystem will always be frozen,
unless we save RAM.
also remove param freezefs in PVE::API2 snapshot,
because there is no use for it.
Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
					 
					
						2014-12-04 12:30:35 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							f34ebd5259 
							
						 
					 
					
						
						
							
							code cleanups  
						
						
						
					 
					
						2014-12-01 09:50:11 +01:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							184955dc65 
							
						 
					 
					
						
						
							
							fix bug  #542 : return VMID as integer  
						
						
						
					 
					
						2014-09-17 15:51:47 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							cd11416f7a 
							
						 
					 
					
						
						
							
							clone_vm: auto generate new uuid  
						
						
						
					 
					
						2014-08-26 09:20:09 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							debe88829e 
							
						 
					 
					
						
						
							
							vm_stop: do not use ha commands if $migratedfrom is set  
						
						
						
					 
					
						2014-07-29 06:51:02 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Priebe 
							
						 
					 
					
						
						
						
						
							
						
						
							64ff6fe44c 
							
						 
					 
					
						
						
							
							API2: remove require full parameter for snapshot cloning  
						
						... 
						
						
						
						Signed-off-by: Stefan Priebe <s.priebe@profihost.ag> 
						
					 
					
						2014-07-17 09:22:37 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Derumier 
							
						 
					 
					
						
						
						
						
							
						
						
							e5e3ccbbc2 
							
						 
					 
					
						
						
							
							allow resize of virtio windows boot disk  
						
						... 
						
						
						
						virtio-win-0.1-74  have fixed the resize bug of virtio boot disk
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> 
						
					 
					
						2014-07-16 12:47:04 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							47314bf5e2 
							
						 
					 
					
						
						
							
							auto generate uuid on VM create  
						
						... 
						
						
						
						Other VM environments also generates an UUID by default. 
						
					 
					
						2014-06-26 11:51:52 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							d7fd6a445b 
							
						 
					 
					
						
						
							
							require 'VM.Config.HWType' priviledge to change new smbios1 option  
						
						
						
					 
					
						2014-06-26 11:17:10 +02:00 
						 
				 
			
				
					
						
							
							
								Dietmar Maurer 
							
						 
					 
					
						
						
						
						
							
						
						
							12a1e0f4e8 
							
						 
					 
					
						
						
							
							vncproxy: remove check if VM is running  
						
						... 
						
						
						
						Because this does not work when VM is on other cluster node. 
						
					 
					
						2014-06-25 09:54:23 +02:00