Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							b2c1017488 
							
						 
					 
					
						
						
							
							Fix missing parameter in Pool.__init__()  
						
						
						
					 
					
						2016-04-30 20:42:00 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							7f2f4a4e75 
							
						 
					 
					
						
						
							
							Fix GUI extension  
						
						
						
					 
					
						2016-04-27 15:27:01 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							04a3e80311 
							
						 
					 
					
						
						
							
							SizeMixIn first assert than call super()  
						
						
						
					 
					
						2016-04-25 07:17:21 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							29f4be0f10 
							
						 
					 
					
						
						
							
							If vm doesnt support volume_config raise TypeError  
						
						
						
					 
					
						2016-04-25 07:17:21 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							37ca33b0d1 
							
						 
					 
					
						
						
							
							Add docstring to xen volumes implementations  
						
						
						
					 
					
						2016-04-25 07:17:21 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							8f060a8746 
							
						 
					 
					
						
						
							
							Fix Pool and Volume __init__  
						
						
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							591134833b 
							
						 
					 
					
						
						
							
							Replace Volume.__str__ with enhanced __repr__  
						
						
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							04536c5950 
							
						 
					 
					
						
						
							
							Don't exec app.save() after add_pool & remove_pool  
						
						
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							d7ff4b9057 
							
						 
					 
					
						
						
							
							Move volume xml config from QubesVM to Volume  
						
						
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							2e28849c90 
							
						 
					 
					
						
						
							
							Move pool xml config from Qubes to Pool  
						
						
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							49b4951389 
							
						 
					 
					
						
						
							
							Storage move rename() logic to XenPool  
						
						... 
						
						
						
						- Fix config renaming 
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							e3ae6cdc1b 
							
						 
					 
					
						
						
							
							BackupTestsMixin.create_backup_vms uses volumes  
						
						... 
						
						
						
						Instead of using root_img to access the path it uses now the proper volumes 
						
					 
					
						2016-04-25 07:17:20 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							d7fd66070a 
							
						 
					 
					
						
						
							
							Fix revert template changes test  
						
						
						
					 
					
						2016-04-25 07:17:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							8cc31e86a7 
							
						 
					 
					
						
						
							
							qvm-create handle --pool argument  
						
						
						
					 
					
						2016-04-25 07:17:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							2c2a778a1d 
							
						 
					 
					
						
						
							
							Serialize volume_config from qubes.xml  
						
						
						
					 
					
						2016-04-25 07:17:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							fe6a35155e 
							
						 
					 
					
						
						
							
							Move kernel file checks to LinuxKernel pool  
						
						
						
					 
					
						2016-04-25 07:17:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							ef485ca32a 
							
						 
					 
					
						
						
							
							Add linux-kernel to defaults['pool_config']  
						
						
						
					 
					
						2016-04-25 07:17:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							62c81044c5 
							
						 
					 
					
						
						
							
							Add XenPool.setup/destroy  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							97d04791b7 
							
						 
					 
					
						
						
							
							After add/remove_pool execute Pool.setup/destroy  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							9674d03088 
							
						 
					 
					
						
						
							
							Add pool LinuxKernel  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							d1a0542c85 
							
						 
					 
					
						
						
							
							Add XenPool.remove()  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							a37fc2464a 
							
						 
					 
					
						
						
							
							Add XenPool.config()  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							971c4ae91d 
							
						 
					 
					
						
						
							
							Add XenPool.driver field  
						
						
						
					 
					
						2016-04-25 07:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							5f7cb41a21 
							
						 
					 
					
						
						
							
							Move Storage.clone_disk_files logic to XenPool  
						
						... 
						
						
						
						- Add XenVolume to identify volumes which can be cloned even if they are not in
the same pool 
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							973c83cedd 
							
						 
					 
					
						
						
							
							Move most resize logic to XenPool  
						
						
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							bdfb85ac19 
							
						 
					 
					
						
						
							
							Refactor Storage, Pool and XenPool  
						
						... 
						
						
						
						- Remove all *_dev_config methods
 - Checks if a storage image exists moved to XenPool
 - Storage.remove wraps Pool.remove()
 - Stop volumes on domain sutdown/kill
 - Warn when using deprecated methods 
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							3c66d4b54c 
							
						 
					 
					
						
						
							
							Fix storage_xen test  
						
						
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							79ac3d3770 
							
						 
					 
					
						
						
							
							Fix storage test and simplify TestVM  
						
						
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							88238c80f3 
							
						 
					 
					
						
						
							
							Add XenPool._reset_volume  
						
						
						
					 
					
						2016-04-25 07:17:17 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							3dab5193c6 
							
						 
					 
					
						
						
							
							XenPool add snapshot handling  
						
						
						
					 
					
						2016-04-25 07:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							792d94959f 
							
						 
					 
					
						
						
							
							Add implementations of xen volumes  
						
						
						
					 
					
						2016-04-25 07:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							f02f9e3a41 
							
						 
					 
					
						
						
							
							Add XenPool init_volume  
						
						
						
					 
					
						2016-04-25 07:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							4d4b846ce8 
							
						 
					 
					
						
						
							
							Replace XenStorage with XenPool  
						
						
						
					 
					
						2016-04-25 07:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							32255a7916 
							
						 
					 
					
						
						
							
							Reverted Storage ←→ Pool dependency  
						
						... 
						
						
						
						- Storage() operates on a pool and in future on multiple pools 
						
					 
					
						2016-04-25 07:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							9d646aabd3 
							
						 
					 
					
						
						
							
							Add volume_config to AppVM and TemplateVM  
						
						
						
					 
					
						2016-04-25 07:17:13 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							24193c4308 
							
						 
					 
					
						
						
							
							Add Volume class  
						
						
						
					 
					
						2016-04-25 07:16:38 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							428dd5bc1b 
							
						 
					 
					
						
						
							
							QubesVM.dir_path is set independent of storage  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							c3d8c899cc 
							
						 
					 
					
						
						
							
							Add TemplateVM test for storage_xen  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							3c798bc825 
							
						 
					 
					
						
						
							
							Pool configuration include the pool name  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							bd4674b658 
							
						 
					 
					
						
						
							
							Remove obsolete tests  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							22d73e8fa9 
							
						 
					 
					
						
						
							
							Fix Pool dir_path normalization  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							36470310a2 
							
						 
					 
					
						
						
							
							Replace pool config parsing logic  
						
						... 
						
						
						
						- Move add_pool/remove_pool to Qubes class
- Add Qubes.get_pool
- Remove storage.conf 
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							c791cb1935 
							
						 
					 
					
						
						
							
							Serialize pool configuration to XML  
						
						
						
					 
					
						2016-04-25 07:16:37 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							47e89d84b6 
							
						 
					 
					
						
						
							
							XenStorage.format_disk_dev returns now BlockDevice  
						
						
						
					 
					
						2016-04-25 07:16:36 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							cc7dd625d9 
							
						 
					 
					
						
						
							
							Loop over QubesVM.block_devices in libvirt xml  
						
						
						
					 
					
						2016-04-25 07:16:36 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							2f99efa4b8 
							
						 
					 
					
						
						
							
							Add BlockDevice  
						
						
						
					 
					
						2016-04-25 07:16:36 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							62da967f78 
							
						 
					 
					
						
						
							
							Fix generating documentation  
						
						
						
					 
					
						2016-04-22 15:23:39 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							ebb79e9c4f 
							
						 
					 
					
						
						
							
							Fix TC_01_Properties/test_030_rename_conflict_app  
						
						
						
					 
					
						2016-04-20 14:02:04 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							d1d72466d6 
							
						 
					 
					
						
						
							
							Remove unneeded imports from tests/int.basic  
						
						
						
					 
					
						2016-04-20 13:59:55 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							f74646fb1b 
							
						 
					 
					
						
						
							
							Assert that a TemplateVM can't have a template  
						
						
						
					 
					
						2016-04-20 13:59:32 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							6aac0a5732 
							
						 
					 
					
						
						
							
							On startup-failure only force_shutdown if running  
						
						... 
						
						
						
						This avoids losing the exception if an exception is raised in
self.force_shutdown(), because the vm is not running or paused 
						
					 
					
						2016-04-20 13:59:17 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							2a9752716c 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/core3-devel-mm' into core3-devel  
						
						
						
					 
					
						2016-04-20 13:55:46 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							fe8fdb264b 
							
						 
					 
					
						
						
							
							qubes/vm/qubesvm: move is_guid_running to GUI extension  
						
						
						
					 
					
						2016-04-20 13:54:56 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							adbca5c0f6 
							
						 
					 
					
						
						
							
							qubes/tools/qvm_run: fix --all/--passio exclusion  
						
						
						
					 
					
						2016-04-20 13:54:56 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							e720e1634b 
							
						 
					 
					
						
						
							
							qubes/tools: rewrite qvm-shutdown  
						
						... 
						
						
						
						fixes  QubesOS/qubes-issues#1228  
					
						2016-04-20 13:52:58 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							94589915b0 
							
						 
					 
					
						
						
							
							Fix documentation  
						
						
						
					 
					
						2016-04-20 13:50:42 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a46abbefd 
							
						 
					 
					
						
						
							
							qubes.vm: implement TemplateVM.appvms property  
						
						
						
					 
					
						2016-04-20 02:28:11 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7117847816 
							
						 
					 
					
						
						
							
							tests: fix int.dom0_update  
						
						... 
						
						
						
						Environment must be preserved for QUBES_XML_PATH variable used to point
to a secondary (test) qubes.xml. 
						
					 
					
						2016-04-20 02:26:56 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a707840596 
							
						 
					 
					
						
						
							
							tests: fix and enable external tests loader  
						
						... 
						
						
						
						QubesOS/qubes-issues#1800  
					
						2016-04-20 02:26:16 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1575b98d4 
							
						 
					 
					
						
						
							
							tests: do not drop 'qubes.tests.' prefix  
						
						... 
						
						
						
						This cause troubles with "external" tests (loaded from outside of
qubes.tests module). 
						
					 
					
						2016-04-20 02:25:56 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							540942de47 
							
						 
					 
					
						
						
							
							qubes/ext: convert extensions to singletons  
						
						... 
						
						
						
						From now the extensions are instantiated once. They no longer have .app
attribute, but can access it from event handlers via vm.app. 
						
					 
					
						2016-04-11 15:31:41 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eaf5efd814 
							
						 
					 
					
						
						
							
							tests: convert 'extra' test loader to core3 API  
						
						... 
						
						
						
						QubesOS/qubes-issues#1800  
					
						2016-04-11 13:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8c6fe7ed90 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into core3-devel-mm  
						
						
						
					 
					
						2016-04-11 13:03:12 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4308fa7946 
							
						 
					 
					
						
						
							
							Fix events names in docstrings  
						
						
						
					 
					
						2016-04-11 00:13:14 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d9a8cd5d68 
							
						 
					 
					
						
						
							
							backup: minor code style fixes  
						
						
						
					 
					
						2016-04-11 00:13:13 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c5962910d0 
							
						 
					 
					
						
						
							
							qubes/events: Rework firing events for effect  
						
						... 
						
						
						
						From now, the handlers should yield their values, not return. 
						
					 
					
						2016-04-08 12:35:11 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c28f50f6fe 
							
						 
					 
					
						
						
							
							backup: minor fixes  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							2261e6a4c7 
							
						 
					 
					
						
						
							
							backup: simplify auto-renaming handling  
						
						... 
						
						
						
						Don't try to track names in restore_info_verify, instead resolve them at
actual restore time. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							71a7730168 
							
						 
					 
					
						
						
							
							backup: simplify ordering of restoring VMs  
						
						... 
						
						
						
						No other change than reducing two nested loops into one. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							20d53fbf69 
							
						 
					 
					
						
						
							
							tests: more VMs combinations in backup  
						
						... 
						
						
						
						VM with custom template, non-default NetVM
This requires to VMs being removed in reversed order (to first remove
VM, then its template). 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							98c8b7cd22 
							
						 
					 
					
						
						
							
							backup: use simple classes for data storage on restore too  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							424d3054f3 
							
						 
					 
					
						
						
							
							backup: use vm.features to store backup-specific metadata  
						
						... 
						
						
						
						Do not keep them in system qubes.xml. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							ed88b5a9a3 
							
						 
					 
					
						
						
							
							backup: use vm.run_service instead of vm.run  
						
						... 
						
						
						
						This should be the only way used to call services. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e8f21929ad 
							
						 
					 
					
						
						
							
							backup: by default include all the VMs with vm.include_in_backups  
						
						... 
						
						
						
						If there is a need for more robust default, it should be handled at that
property. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							a3051b956b 
							
						 
					 
					
						
						
							
							backup: docstrings, don't expose internal attributes  
						
						... 
						
						
						
						processes_to_kill_on_cancel shouldn't be initialized by user, so move
below applying user settings. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							b4227f7581 
							
						 
					 
					
						
						
							
							backup: use simple classes instead of hashes, use events for appmenus  
						
						... 
						
						
						
						This makes typo errors much easier to find (also using pylint or so).
While at it, also removed explicit appmenus backup, as it should be
provided by appmenus extension. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c01f43a5d3 
							
						 
					 
					
						
						
							
							backup: unify handling of template and non-template VMs  
						
						... 
						
						
						
						Handle them the same way - individual files, not the whole directory for
templates.
Also don't backup obsolete 'kernels' subdir - it isn't supported in
core3. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							d9cf64a41d 
							
						 
					 
					
						
						
							
							backup: minor code structure changes  
						
						... 
						
						
						
						- initialize internal objects object in constructor
- use 'with' 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							78dbadab57 
							
						 
					 
					
						
						
							
							backup: minor: compile regex once  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b8b6428c 
							
						 
					 
					
						
						
							
							backup: remove duplicated get_disk_usage function  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c08f5986a9 
							
						 
					 
					
						
						
							
							backup: use constants for queue control strings  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							ad1f1738fa 
							
						 
					 
					
						
						
							
							qubes: make 'store' property public (R/O)  
						
						... 
						
						
						
						It makes sense to see from what Qubes object was loaded. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c55ca8004a 
							
						 
					 
					
						
						
							
							tests: port backupcompatibility to core3 API  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							8c5d42a095 
							
						 
					 
					
						
						
							
							backup: add support for restoring pre-core3 backups  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							304d2b10bc 
							
						 
					 
					
						
						
							
							backup: fix handline "None" kernel  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							412bcfa88b 
							
						 
					 
					
						
						
							
							backup: fix hadling netvm property  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							d72d8f8445 
							
						 
					 
					
						
						
							
							backup: code inspection annotations  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							3fb0754398 
							
						 
					 
					
						
						
							
							backup: formatting  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							697a26c8da 
							
						 
					 
					
						
						
							
							backup: update license header  
						
						... 
						
						
						
						Use link instead of address, as recommended by FSF. 
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e04ea7512c 
							
						 
					 
					
						
						
							
							backup: minor code style  
						
						... 
						
						
						
						- Don't use catch-all except statement.
- Use str.format instead of "%" operator.
- Use static methods where applicable.
- Remove unused local variables.
- Don't shadow variables from outer scope 
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							44eed25511 
							
						 
					 
					
						
						
							
							tests/backup: report failure when error was expected but none detected  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e5af64f2bf 
							
						 
					 
					
						
						
							
							backup: fix restore summary table  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							595dfdc0a9 
							
						 
					 
					
						
						
							
							backup: add additional verification of backup header  
						
						... 
						
						
						
						Ensure only alphanumeric characters are used. 
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							3342f637f4 
							
						 
					 
					
						
						
							
							backup: convert logging to proper python logging API  
						
						... 
						
						
						
						QubesOS/qubes-issues#1213 
QubesOS/qubes-issues#1214  
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							019678bf4d 
							
						 
					 
					
						
						
							
							tests: fix backup test to not break default template...  
						
						... 
						
						
						
						By default AppVM is template based. This means vm.root_img points at
default template's root image. Change this to StandaloneVM to have
independent root.img. 
						
					 
					
						2016-04-07 13:06:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e557fe9989 
							
						 
					 
					
						
						
							
							backup: restructude the code into classes  
						
						... 
						
						
						
						Introduce two main classes Backup and BackupRestore for storing the
state of the desired operation. Then a simple interface to adjust
parameters.
(Almost) no functional change.
QubesOS/qubes-issues#1213 
QubesOS/qubes-issues#1214  
						
					 
					
						2016-04-07 13:06:14 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							fd1f8def6a 
							
						 
					 
					
						
						
							
							tests: do not store dom0 home backup inside of dom0 home itself  
						
						
						
					 
					
						2016-04-07 13:05:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e0686e1e02 
							
						 
					 
					
						
						
							
							backup: initial conversion to core3 API  
						
						
						
					 
					
						2016-04-07 13:05:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							45d6ab3862 
							
						 
					 
					
						
						
							
							qubes/vm: store libvirt config in libvirt.xml, fix rename handling  
						
						
						
					 
					
						2016-04-07 13:03:46 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							12df07edd0 
							
						 
					 
					
						
						
							
							tests: invalid property should not be saved to qubes.xml  
						
						
						
					 
					
						2016-04-07 13:03:42 +02:00