Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c9accc258c 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'woju/pull/15/head' into core3-devel  
						
						... 
						
						
						
						Conflicts:
	qubes/storage/__init__.py
	qubes/storage/file.py
	qubes/vm/qubesvm.py 
						
					 
					
						2016-06-28 15:15:00 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e26932a81a 
							
						 
					 
					
						
						
							
							Fix bug in FilesPool.target_dir()  
						
						
						
					 
					
						2016-06-23 14:23:34 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7081bd433a 
							
						 
					 
					
						
						
							
							Make pylint happy  
						
						
						
					 
					
						2016-06-23 14:23:34 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b584d1a4bb 
							
						 
					 
					
						
						
							
							Remove QubesVM.is_netvm() and is_disposablevm()  
						
						
						
					 
					
						2016-06-23 14:23:33 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e08ca1ff57 
							
						 
					 
					
						
						
							
							Remove QubesVM.is_template()  
						
						
						
					 
					
						2016-06-23 14:23:31 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9ddc00741 
							
						 
					 
					
						
						
							
							Add qvm-block  
						
						
						
					 
					
						2016-06-23 13:16:08 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							90c882610e 
							
						 
					 
					
						
						
							
							Storage attach volumes from other pools  
						
						... 
						
						
						
						- Already attached volumes are ignored 
						
					 
					
						2016-06-23 13:16:07 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ac40ddd4f 
							
						 
					 
					
						
						
							
							Volume.__repr__ returns POOL_NAME:VOLUME_ID  
						
						
						
					 
					
						2016-06-23 13:16:04 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09727b1cbd 
							
						 
					 
					
						
						
							
							Add Volume.internal field  
						
						... 
						
						
						
						- Linux kernel volumes are always internal volumes 
						
					 
					
						2016-06-23 13:16:03 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07800a0e67 
							
						 
					 
					
						
						
							
							Add Volume.eq, neq and hash  
						
						
						
					 
					
						2016-06-23 13:16:03 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f08ce2cb79 
							
						 
					 
					
						
						
							
							A Pool should always have a volumes property  
						
						... 
						
						
						
						NOTE: FilesPool need some way to dynamically discover volumes 
						
					 
					
						2016-06-23 13:15:54 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							88198fb7ac 
							
						 
					 
					
						
						
							
							Storage verification is part of the pool interface  
						
						... 
						
						
						
						- LinuxKernel pool add verify method
- FilePool implent verification 
						
					 
					
						2016-06-23 13:11:59 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e7732f8ad0 
							
						 
					 
					
						
						
							
							Storage.verify fires domain-verify-files event  
						
						
						
					 
					
						2016-06-21 14:58:11 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							732d2b33f4 
							
						 
					 
					
						
						
							
							Add LinuxKernel.is_outdated()  
						
						
						
					 
					
						2016-06-21 14:58:10 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b441ebaad 
							
						 
					 
					
						
						
							
							Add Storage.outdated_volumes and Pool.is_outdated  
						
						
						
					 
					
						2016-06-21 14:58:10 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							9f3385296b 
							
						 
					 
					
						
						
							
							qubes.storage.file fix pylint warnings  
						
						
						
					 
					
						2016-06-16 16:59:27 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							38dc74587d 
							
						 
					 
					
						
						
							
							Rewrote file rename_target_dir  
						
						
						
					 
					
						2016-06-16 16:59:27 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							a4577c0dce 
							
						 
					 
					
						
						
							
							Rename Storage.create_on_disk to Storage.create  
						
						
						
					 
					
						2016-06-16 16:59:27 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							930fe417a8 
							
						 
					 
					
						
						
							
							Remove storage size and usage methods from QubesVM  
						
						
						
					 
					
						2016-06-16 16:59:26 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							6ade5736d7 
							
						 
					 
					
						
						
							
							pylint fixes  
						
						
						
					 
					
						2016-06-10 21:27:29 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							a615a45ecd 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'woju/pull/13/head' into core3-devel  
						
						
						
					 
					
						2016-06-02 13:24:15 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							bb2e1f2870 
							
						 
					 
					
						
						
							
							qubes/vm: handle VM toplevel directory in QubesVM object not Storage  
						
						... 
						
						
						
						This directory is not only for disk images (in fact disk images may be
elsewhere depending on choosen volume pool), so it would be cleaner to
handle (create/remove) it directly in QubesVM class. 
						
					 
					
						2016-06-02 13:22:07 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							0a21300872 
							
						 
					 
					
						
						
							
							qubes/storage: unify _remove_if_exists argument type  
						
						... 
						
						
						
						In some places full volume object was called, in others - just file
path. Since this function is also used in some volume init/teardown, use
path everywhere. 
						
					 
					
						2016-06-02 13:07:35 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							b119b2c36b 
							
						 
					 
					
						
						
							
							storage/file: simplify search for origin volume of snapshot/read-only  
						
						... 
						
						
						
						Check directly vm.template, throwing AttributeError when not found.
There may be some value in converting it to more descriptive error, but
since that's mostly for internal users (not user facing actions) don't
bother for now.
QubesOS/qubes-issues#1842  
						
					 
					
						2016-06-02 12:38:07 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							54c70766a4 
							
						 
					 
					
						
						
							
							qubes/storage: allow snapshots of snapshots  
						
						... 
						
						
						
						It may make sense to create 'snapshot' volume out of already 'snapshot',
not only 'origin'. In pracice it will exactly the same as 'snapshot
connected directly to 'origin'.
QubesOS/qubes-issues#866  
						
					 
					
						2016-06-02 12:37:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							48176d51f1 
							
						 
					 
					
						
						
							
							qubes/storage: minor error message fix  
						
						
						
					 
					
						2016-06-02 12:29:39 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							d80f34888d 
							
						 
					 
					
						
						
							
							qubes/storage: fix getting origin pool  
						
						... 
						
						
						
						volume_config parameter is about target volume, not origin.
QubesOS/qubes-issues#1842  
						
					 
					
						2016-06-02 12:29:30 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							17790c32bb 
							
						 
					 
					
						
						
							
							Fix DomainPool missing a continue  
						
						
						
					 
					
						2016-06-01 17:28:55 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							35974a5dbf 
							
						 
					 
					
						
						
							
							DomainPool check the untrusted data from qubes-db  
						
						
						
					 
					
						2016-05-25 17:39:34 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ddf040ae64 
							
						 
					 
					
						
						
							
							Do not serialize the domain pool config  
						
						
						
					 
					
						2016-05-22 22:09:55 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							baaac858bc 
							
						 
					 
					
						
						
							
							Add DomainPool  
						
						... 
						
						
						
						- All domain pool volumes are removable volumes
- DomainVolume uses device name as vid 
						
					 
					
						2016-05-22 22:09:54 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e30f894df9 
							
						 
					 
					
						
						
							
							Add Volume.removable field  
						
						
						
					 
					
						2016-05-22 21:42:27 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							116ba64e51 
							
						 
					 
					
						
						
							
							Storage.remove() catch IO/OSError and log it  
						
						
						
					 
					
						2016-05-21 01:35:32 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c5810758c5 
							
						 
					 
					
						
						
							
							FilePool fix origin volume removale  
						
						
						
					 
					
						2016-05-21 01:35:31 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8959e5a77e 
							
						 
					 
					
						
						
							
							Implement qvm-remove  
						
						... 
						
						
						
						- Remove old qvm-remove
- Remove a log line from Storage, because it prints confusing lines, like:
    Removing volume kernel: /var/lib/qubes/vm-kernels/4.1.13-6/modules.img 
						
					 
					
						2016-05-21 01:35:30 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							1d5b89f0d5 
							
						 
					 
					
						
						
							
							LinuxKernel keep track of own volumes  
						
						... 
						
						
						
						This is squashed woju/qubes-core-admin#8  by @kalkin
- LinuxKernel.volumes() lists all available kernels
- LinuxKernel use kernel version as vid
- LinuxKernel add docstrings
- Linux.kernel use os.listdir instead of os.walk
- LinuxKernel dynamically list available kernels 
						
					 
					
						2016-05-04 17:21:05 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7200e6153b 
							
						 
					 
					
						
						
							
							Rename default storage driver from xen to file  
						
						... 
						
						
						
						- Rename XenPool   ⇒ FilePool
- Rename XenVolume ⇒ FileVolume 
						
					 
					
						2016-04-30 20:42:46 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							b2c1017488 
							
						 
					 
					
						
						
							
							Fix missing parameter in Pool.__init__()  
						
						
						
					 
					
						2016-04-30 20:42:00 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							04a3e80311 
							
						 
					 
					
						
						
							
							SizeMixIn first assert than call super()  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							fe6a35155e 
							
						 
					 
					
						
						
							
							Move kernel file checks to LinuxKernel pool  
						
						
						
					 
					
						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