Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe37e0933e 
							
						 
					 
					
						
						
							
							Devices-related formating fixes  
						
						... 
						
						
						
						QubesOS/qubes-issues# 
						
					 
					
						2017-05-22 03:21:13 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f7cb8f27c5 
							
						 
					 
					
						
						
							
							admin: add admin.vm.Remove method  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-19 18:49:21 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dc2563271c 
							
						 
					 
					
						
						
							
							tests: very basic tests for LinuxKernel pool  
						
						
						
					 
					
						2017-05-17 11:17:22 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							774f4c8d49 
							
						 
					 
					
						
						
							
							tests: admin.vm.devices.* Admin API  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-16 09:05:22 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							661752bbc1 
							
						 
					 
					
						
						
							
							devices: list persistent devices also when not currently attached  
						
						... 
						
						
						
						When device extension do not return some "persistent" device as
currently attached, still return it, as it will be attached at next
domain startup. User can distinguish such devices by having
frontend_domain=None (or other VM).
Also, return a set from DeviceCollection.assignments(). 
						
					 
					
						2017-05-16 09:05:22 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f3c7fb8129 
							
						 
					 
					
						
						
							
							admin: add missing parts to admin.vm.Clone  
						
						... 
						
						
						
						Clone all the things. 
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8de82f390e 
							
						 
					 
					
						
						
							
							tests: Tags() and Features()  
						
						
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ba86d6da79 
							
						 
					 
					
						
						
							
							vm: implement tag manager to fire events on change  
						
						... 
						
						
						
						While at it, adjust implementation to specification: tags don't have
value, only one bit of information (present/not present).
Fixes  QubesOS/qubes-issues#2686  
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68a426f0ba 
							
						 
					 
					
						
						
							
							admin: add methods for global properties  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0160d6e2f0 
							
						 
					 
					
						
						
							
							admin: fix handling default template in admin.vm.Create.* methods  
						
						
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fcfb2e004a 
							
						 
					 
					
						
						
							
							tests: more for admin.Events method  
						
						
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e598735c3b 
							
						 
					 
					
						
						
							
							tests: minor formatting  
						
						
						
					 
					
						2017-05-16 09:05:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							625c03c504 
							
						 
					 
					
						
						
							
							Rename MgmtAPI to AdminAPI - part 3: Admin API  
						
						... 
						
						
						
						QubesOS/qubes-issues#853  
					
						2017-05-12 19:28:08 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd489f46e1 
							
						 
					 
					
						
						
							
							Rename MgmtAPI to AdminAPI - part 1: classes  
						
						... 
						
						
						
						QubesOS/qubes-issues#853  
					
						2017-05-12 19:28:07 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							83eef56f9d 
							
						 
					 
					
						
						
							
							Remove tools that are moved to -client repository  
						
						... 
						
						
						
						QubesOS/qubes-issues#853  
					
						2017-05-12 18:43:35 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							da3eed582b 
							
						 
					 
					
						
						
							
							tests: rearrage LVM thin tests to run at least some in devel env  
						
						... 
						
						
						
						This requires creating LVM volume group, so create on based on loop dev
in /tmp.
This is rather rough, but if any of this fails, run the tests anyway -
it will simply skip LVM tests. 
						
					 
					
						2017-05-12 18:10:17 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							53be79b3b7 
							
						 
					 
					
						
						
							
							mgmt: vm.Create* and vm.Clone  
						
						... 
						
						
						
						Create methods are dynamically created based on available VM classes.
QubesOS/qubes-issues#2622  
						
					 
					
						2017-05-12 17:04:18 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							52c3753d61 
							
						 
					 
					
						
						
							
							storage: support asynchronous storage pool implementations  
						
						... 
						
						
						
						Allow specific pool implementation to provide asynchronous
implementation. vm.storage.* methods will detect if given implementation
is synchronous or asynchronous and will act accordingly.
Then it's up to pool implementation how asynchronous should be achieved.
Do not force it using threads (`run_in_executor()`). But pool
implementation is free to use threads, if consider it safe in a
particular case.
This commit does not touch any pool implementation - all of them are
still synchronous.
QubesOS/qubes-issues#2256  
						
					 
					
						2017-05-12 17:04:18 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							da7496794a 
							
						 
					 
					
						
						
							
							events: add support for per-instance handlers  
						
						
						
					 
					
						2017-05-12 14:25:32 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							027df9567c 
							
						 
					 
					
						
						
							
							mgmt: add mgmt.label.Index method  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-12 14:25:29 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55037e0446 
							
						 
					 
					
						
						
							
							tests: tools.qubesd  
						
						... 
						
						
						
						For now only QubesDaemonProtocol test. main function still untested
QubesOS/qubes-issues#2622  
						
					 
					
						2017-05-12 14:25:29 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0b737b3a55 
							
						 
					 
					
						
						
							
							mgmt: vm.features handling (mgmt.vm.feature.*)  
						
						... 
						
						
						
						Actual implementation and tests.
QubesOS/qubes-issues#2622  
						
					 
					
						2017-05-12 14:25:28 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							643cef1e65 
							
						 
					 
					
						
						
							
							mgmt: send artificial 'connection-established' event just after connection  
						
						... 
						
						
						
						This allows avoid race condition between  registering event handlers and
performing some action. The important thing is the event sent after
registering event handlers in qubesd. This means state changes (like
VM start/stop) after 'connection-established' event will be included in
event stream.
QubesOS/qubes-issues#2622  
						
					 
					
						2017-05-12 14:25:28 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8cc0af1eda 
							
						 
					 
					
						
						
							
							tests: mgmt.Events  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-12 14:25:27 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							73df1b8ea7 
							
						 
					 
					
						
						
							
							tests: VM lifecycle methods tests  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-12 14:25:27 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2aa0de3d5b 
							
						 
					 
					
						
						
							
							tools: remove qvm-ls tool and related integration in qubes.property  
						
						... 
						
						
						
						qvm-ls tool (as all other tools) will be accessing properties through
API, so no need (nor sense) for this tool-specific attributes in
qubes.property. The only somehow used was ls_width, and in fact it made
the output unnecessary wide.
The tool itself is already moved to core-mgmt-client repository.
QubesOS/qubes-issues#853  
						
					 
					
						2017-05-12 14:25:27 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50b812190b 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'kalkin/device-assignments' into core3-devel  
						
						... 
						
						
						
						* kalkin/device-assignments: (21 commits)
  PCI extension cache PCIDevice objects
  Make pylint ♥
  Fix pylint warning no-else-return
  Fix pylint warning len-as-conditional
  device-list-attached event returns a dev/options tupples list
  DeviceAssignment options are now a dict
  Remove WrongAssignment exception
  Rename qubes.devices.BlockDevice to qubes.storage.BlockDevice
  Update relaxng devices option element
  Fix tests broken by the new assignment api
  Fix qubes.tests.devices
  Fix pci device integration tests
  qvm-device add support for assignments
  Update ext/pci to new api
  BaseVM add DeviceAssignment xml serialization
  Migrate DeviceCollection to new API
  Add PersistentCollection helper to qubes.devices
  Add DeviceAssignment
  qvm-device validates device parameters
  qvm-device fix handling of non block devices
  ... 
						
					 
					
						2017-04-21 17:09:33 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							79407a8717 
							
						 
					 
					
						
						
							
							Make pylint ♥  
						
						
						
					 
					
						2017-04-15 23:50:11 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9da28c9c15 
							
						 
					 
					
						
						
							
							device-list-attached event returns a dev/options tupples list  
						
						
						
					 
					
						2017-04-15 23:49:40 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a8cc9bdd3 
							
						 
					 
					
						
						
							
							Remove WrongAssignment exception  
						
						... 
						
						
						
						Signed-off-by: Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> 
						
					 
					
						2017-04-15 23:49:39 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1b005964f 
							
						 
					 
					
						
						
							
							Fix tests broken by the new assignment api  
						
						
						
					 
					
						2017-04-15 23:48:59 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							827ca283f3 
							
						 
					 
					
						
						
							
							Fix qubes.tests.devices  
						
						... 
						
						
						
						Signed-off-by: Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> 
						
					 
					
						2017-04-15 23:48:59 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e84114d3a9 
							
						 
					 
					
						
						
							
							Fix pci device integration tests  
						
						... 
						
						
						
						Signed-off-by: Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> 
						
					 
					
						2017-04-15 23:48:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ada6d0b64 
							
						 
					 
					
						
						
							
							tests: disable GTK tests on travis  
						
						... 
						
						
						
						The environment there is way too old.
QubesOS/qubes-issues#910  
						
					 
					
						2017-04-07 17:07:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e76ede3ad0 
							
						 
					 
					
						
						
							
							tests: plug rpc-window tests into main test runner  
						
						... 
						
						
						
						QubesOS/qubes-issues#910  
					
						2017-04-07 17:07:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							564408eb3f 
							
						 
					 
					
						
						
							
							tests: qubespolicy tests  
						
						... 
						
						
						
						Fixes  QubesOS/qubes-issues#2460  
					
						2017-04-06 15:43:17 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3388054eae 
							
						 
					 
					
						
						
							
							mgmt: move property value sanitization to property definition  
						
						... 
						
						
						
						This also means we don't check if a VM with given name (in case of
VMProperty) exists in the system, at this stage. But this is ok, lets
not duplicate work of property setter.
QubesOS/qubes-issues#2622  
						
					 
					
						2017-03-31 11:55:24 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8371ffcd0f 
							
						 
					 
					
						
						
							
							tests: storage and labels  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-03-16 20:04:07 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a223811a5 
							
						 
					 
					
						
						
							
							tests: add missing import  
						
						
						
					 
					
						2017-03-16 20:04:06 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f1c8f3220d 
							
						 
					 
					
						
						
							
							tests: deal with events containing dict in kwargs  
						
						... 
						
						
						
						If kwargs contains dict as one of values, it isn't hashable and can't be
used as value in frozenset/tuple. Convert such values into
frozenset(dict.items()). Only one (more) level is supported, but it
should be enough.
Solution from http://stackoverflow.com/a/13264725  
						
					 
					
						2017-03-16 20:04:06 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							beaa0e9348 
							
						 
					 
					
						
						
							
							tests/mgmt: check if argument/payload is rejected when should be  
						
						... 
						
						
						
						Instead of creating such tests for each method separately, use unittest
subTest functionality to handle all of them at once. 
						
					 
					
						2017-03-16 20:04:06 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							944bb26369 
							
						 
					 
					
						
						
							
							tests/mgmt: VM property related functions  
						
						
						
					 
					
						2017-03-16 20:04:05 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2d2672ec58 
							
						 
					 
					
						
						
							
							vm/qubesvm: convert firewall_conf into dumb, read-only property  
						
						... 
						
						
						
						Don't allow anything else than firewall.xml. 
						
					 
					
						2017-03-16 20:04:03 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a6c7da6061 
							
						 
					 
					
						
						
							
							tests: be even more defensive on cleaning up VMs  
						
						... 
						
						
						
						Don't fail even if qubes-test.xml do not load at all because of syntax
error - for example empty file. 
						
					 
					
						2017-02-27 02:37:52 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							45709b510a 
							
						 
					 
					
						
						
							
							backup: minor fixes after bringing back scrypt support  
						
						
						
					 
					
						2017-02-27 02:37:51 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							13fc810363 
							
						 
					 
					
						
						
							
							tests: some more fixes for core3 API  
						
						
						
					 
					
						2017-02-27 02:37:50 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3ecc0a9bcb 
							
						 
					 
					
						
						
							
							tests: improve devices API unit test  
						
						... 
						
						
						
						Check fired events - inspired by qvm-device test. 
						
					 
					
						2017-02-27 02:37:50 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7f2ca33774 
							
						 
					 
					
						
						
							
							tests: fix importing template in non-default pool  
						
						
						
					 
					
						2017-02-27 02:37:50 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9ace4e66f1 
							
						 
					 
					
						
						
							
							tests: more py3k related fixes  
						
						
						
					 
					
						2017-02-27 02:37:49 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cae68f64ca 
							
						 
					 
					
						
						
							
							tests: just one more test in vm_qrexec_gui to core3 API  
						
						
						
					 
					
						2017-02-27 02:37:48 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f29345d32 
							
						 
					 
					
						
						
							
							tests/storage: read-only volume should not have save_on_stop=True  
						
						
						
					 
					
						2017-02-27 02:37:48 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9cad353939 
							
						 
					 
					
						
						
							
							tests: py3k related fixes - bytes/str  
						
						... 
						
						
						
						Adjust usage of bytes vs str type. 
						
					 
					
						2017-02-27 02:35:49 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							be53db4db9 
							
						 
					 
					
						
						
							
							qubes/events: they accept only keyword arguments  
						
						... 
						
						
						
						Positional arguments are hereby deprecated, with immediate effect.
QubesOS/qubes-issues#2622  
						
					 
					
						2017-02-21 14:46:42 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd9300b38e 
							
						 
					 
					
						
						
							
							tests: copy pool configuration into qubes-test.xml  
						
						... 
						
						
						
						If template choosen for the tests is installed in non-default storage
pool, this pool also needs to be imported into qubes-test.xml. 
						
					 
					
						2017-02-15 00:01:33 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3fc4062d8 
							
						 
					 
					
						
						
							
							tests: add basic test for qvm-features  
						
						
						
					 
					
						2017-02-15 00:01:33 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							01aedb7f18 
							
						 
					 
					
						
						
							
							storage: fix handling snap_on_start=True file volumes  
						
						... 
						
						
						
						Use the right cow image and apply the second layer to provide read-write
access. The correct setup is:
 - base image + base cow -> read-only snapshot (base changes "cached"
   until committed)
 - read-only snapshot + VM cow -> read-write snapshot (changes discarded
   after VM shutdown)
This way, even VM without Qubes-specific startup scripts will can
benefit from Template VMs, while VMs with Qubes-specific startup scripts
may still see original root.img content (for possible signature
verification, when storage domain got implemented).
QubesOS/qubes-issues#2256  
						
					 
					
						2017-02-14 23:59:07 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							48f78dfbc8 
							
						 
					 
					
						
						
							
							tests: check if snap_on_start=True volumes are not persistent  
						
						... 
						
						
						
						Content should be reset back to base volume at each VM startup.
Disposable VMs depend on this behaviour.
QubesOS/qubes-issues#2256  
						
					 
					
						2017-02-14 23:59:07 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							1be75d9c83 
							
						 
					 
					
						
						
							
							misc python3 fixes  
						
						
						
					 
					
						2017-02-07 17:07:52 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d74567d65f 
							
						 
					 
					
						
						
							
							qubes: port core to python3  
						
						... 
						
						
						
						fixes  QubesOS/qubes-issues#2074  
					
						2017-01-20 16:42:51 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							68ad60c1b3 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into core3-devel  
						
						... 
						
						
						
						Conflicts:
	core/qubes.py
	doc/Makefile
	doc/manpages/qvm-prefs.rst
	doc/qvm-tools/qvm-add-appvm.rst
	doc/qvm-tools/qvm-backup-restore.rst
	doc/qvm-tools/qvm-backup.rst
	doc/qvm-tools/qvm-block.rst
	doc/qvm-tools/qvm-clone.rst
	doc/qvm-tools/qvm-firewall.rst
	doc/qvm-tools/qvm-ls.rst
	doc/qvm-tools/qvm-pci.rst
	doc/qvm-tools/qvm-run.rst
	doc/qvm-tools/qvm-shutdown.rst
	doc/qvm-tools/qvm-start.rst
	doc/qvm-tools/qvm-template-commit.rst
	qvm-tools/qvm-ls
	qvm-tools/qvm-prefs
	qvm-tools/qvm-remove
	tests/__init__.py
	vm-config/xen-vm-template.xml 
						
					 
					
						2016-11-30 03:07:39 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							37bfd0d2a3 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/core3-fake-ip' into core3-devel  
						
						
						
					 
					
						2016-11-15 17:40:30 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							a4d50409df 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/core3-storage-fixes' into core3-devel  
						
						
						
					 
					
						2016-11-15 17:36:53 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							fd953f4f27 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/core3-backup2' into core3-devel  
						
						
						
					 
					
						2016-11-15 17:34:12 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b011cef8af 
							
						 
					 
					
						
						
							
							tests/storage: add tests for basic volumes properties  
						
						... 
						
						
						
						Things like if read-only volume is really read-only, volatile is
volatile etc.
QubesOS/qubes-issues#2256  
						
					 
					
						2016-11-04 14:18:56 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec81b3046f 
							
						 
					 
					
						
						
							
							tests: add missing app.save() before starting a domain  
						
						... 
						
						
						
						Otherwise domain will be unknown to other processes (like qrexec
services). 
						
					 
					
						2016-11-01 00:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d999d91049 
							
						 
					 
					
						
						
							
							tests: few more tests for fake/custom IP  
						
						... 
						
						
						
						QubesOS/qubes-issues#1143 
QubesOS/qubes-issues#1477  
					
						2016-10-31 03:39:46 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea33fef9cc 
							
						 
					 
					
						
						
							
							tests: drop dispvm_netvm tests  
						
						... 
						
						
						
						This property no longer exists in core3. 
						
					 
					
						2016-10-31 03:10:12 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5072acc8f2 
							
						 
					 
					
						
						
							
							tests: custom VM IP  
						
						... 
						
						
						
						QubesOS/qubes-issues#1477  
					
						2016-10-31 03:09:45 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4585f2b503 
							
						 
					 
					
						
						
							
							tests: add tests for fake IP feature  
						
						... 
						
						
						
						QubesOS/qubes-issues#1143  
					
						2016-10-31 02:17:21 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8cf19e3c92 
							
						 
					 
					
						
						
							
							tests/backupcompatibility: verify restored VM properties  
						
						
						
					 
					
						2016-10-28 11:53:34 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							64ac7f6e8d 
							
						 
					 
					
						
						
							
							tests/backup: check non-ASCII passphrase  
						
						... 
						
						
						
						QubesOS/qubes-issues#2398  
					
						2016-10-28 11:53:34 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc00dd211e 
							
						 
					 
					
						
						
							
							tests/backup: test backup with non-ASCII passphrase  
						
						
						
					 
					
						2016-10-28 11:53:33 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ee200236c 
							
						 
					 
					
						
						
							
							tests/backup: verify migration into LVM thin pool  
						
						
						
					 
					
						2016-10-28 11:53:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							673fe4423a 
							
						 
					 
					
						
						
							
							tests: handle LVM thin pool  
						
						
						
					 
					
						2016-10-28 11:53:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fbecd08a58 
							
						 
					 
					
						
						
							
							tests/backup: exclude some VMs during restore  
						
						
						
					 
					
						2016-10-28 11:53:31 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							5e62d3f7cb 
							
						 
					 
					
						
						
							
							qubes/tests: substitute_entry_points  
						
						... 
						
						
						
						New context manager for temporary overriding entry point groups.
fixes  QubesOS/qubes-issues#2111  
						
					 
					
						2016-10-24 15:16:39 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							4c73c1b93a 
							
						 
					 
					
						
						
							
							More green paint  
						
						
						
					 
					
						2016-10-19 16:09:58 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5babb68031 
							
						 
					 
					
						
						
							
							tests/backupcompatibility: verify if all files got restored  
						
						... 
						
						
						
						There is still no verification of disk images content, nor VM
properties... 
						
					 
					
						2016-10-19 01:54:44 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							8097da7cab 
							
						 
					 
					
						
						
							
							Paint the project green for testbench launch  
						
						
						
					 
					
						2016-10-18 19:07:20 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c81346ba51 
							
						 
					 
					
						
						
							
							qubes/test/run: Print tracebacks of expected fails  
						
						... 
						
						
						
						fixes  QubesOS/qubes-issues#2376  
					
						2016-10-14 17:20:14 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							526f2c3751 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/core3-backup' into core3-devel  
						
						
						
					 
					
						2016-10-14 15:29:37 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c6c0a545e6 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/pull/58/head' into core3-devel  
						
						
						
					 
					
						2016-10-11 11:37:15 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36eb7f923f 
							
						 
					 
					
						
						
							
							qubes/tarwriter: add simple sparse-tar writer module  
						
						... 
						
						
						
						tar can't write archive with _contents_ of block device. We need this to
backup LVM-based disk images. To avoid dumping image to a file first,
create a simple tar archiver just for this purpose.
Python is not the fastest possible technology, it's 3 times slower than
equivalent written in C. But it's much easier to read, much less
error-prone, and still process 1GB image under 1s (CPU time, leaving
along actual disk reads). So, it's acceptable. 
						
					 
					
						2016-10-05 01:54:41 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4632d6be8 
							
						 
					 
					
						
						
							
							tests/backup: test idea  
						
						
						
					 
					
						2016-09-29 02:08:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2d79b9379 
							
						 
					 
					
						
						
							
							tests/backup: use round volume size  
						
						... 
						
						
						
						When handling LVM volumes, size must be multiply of 4MB. 
						
					 
					
						2016-09-29 02:08:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e938aa61ab 
							
						 
					 
					
						
						
							
							tests: cleanup test LVM volumes  
						
						... 
						
						
						
						Handle the case when vm.remove_from_disk does not cleanup all the
things. 
						
					 
					
						2016-09-29 02:08:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0a35bd06aa 
							
						 
					 
					
						
						
							
							backup: support relocating files to different storage pool  
						
						... 
						
						
						
						To ease all this, rework restore workflow: first create QubesVM objects,
and all their files (as for fresh VM), then override them with data
from backup - possibly redirecting some files to new location. This
allows generic code to create LVM volumes and then only restore its
content. 
						
					 
					
						2016-09-29 02:08:29 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4d45dd5549 
							
						 
					 
					
						
						
							
							tests/backup: check backup+restore of LVM based VM  
						
						... 
						
						
						
						The test fails for now... 
						
					 
					
						2016-09-29 01:59:55 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							226695534b 
							
						 
					 
					
						
						
							
							tests/backup: handle non-default pool in BackupTestsMixin  
						
						
						
					 
					
						2016-09-29 01:59:54 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e1d9de1cc2 
							
						 
					 
					
						
						
							
							tests/backup: minor fix for python3  
						
						
						
					 
					
						2016-09-29 01:59:54 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6d5959b31d 
							
						 
					 
					
						
						
							
							tests/backup: use proper logging instead of print  
						
						
						
					 
					
						2016-09-29 01:59:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							016c3d8e88 
							
						 
					 
					
						
						
							
							tests/backup: check restored disk images  
						
						
						
					 
					
						2016-09-29 01:59:53 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8d9b6f19fd 
							
						 
					 
					
						
						
							
							Add catch-all '*' to event handlers  
						
						
						
					 
					
						2016-09-28 21:28:43 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e499b529ad 
							
						 
					 
					
						
						
							
							tests: move BackupTestMixin to qubes.tests.int.backup  
						
						... 
						
						
						
						This is much more logical place, don't pollute main qubes.tests module. 
						
					 
					
						2016-09-25 16:31:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d4f29bb8b7 
							
						 
					 
					
						
						
							
							qubes: add qvm-firewall tool  
						
						... 
						
						
						
						Fixes  QubesOS/qubes-issues#1815  
					
						2016-09-19 20:36:32 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							202042bd8d 
							
						 
					 
					
						
						
							
							tests: update for new firewall API  
						
						... 
						
						
						
						QubesOS/qubes-issues#1815  
					
						2016-09-19 20:36:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e01f7b97d9 
							
						 
					 
					
						
						
							
							qubes/vm: plug in new firewall code, create QubesDB entries  
						
						... 
						
						
						
						QubesOS/qubes-issues#1815  
					
						2016-09-19 20:36:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1da75a676f 
							
						 
					 
					
						
						
							
							qubes/firewall: new firewall interface  
						
						... 
						
						
						
						First part - handling firewall.xml and rules formatting.
Specification on https://qubes-os.org/doc/vm-interface/ 
TODO (for dom0):
 - plug into QubesVM object
 - expose rules in QubesDB (including reloading)
 - drop old functions (vm.get_firewall_conf etc)
QubesOS/qubes-issues#1815  
						
					 
					
						2016-09-19 20:36:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ea7afd245 
							
						 
					 
					
						
						
							
							tests: adjust LVM tests for non-default VG name  
						
						
						
					 
					
						2016-09-19 20:35:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9ae3dc2ebf 
							
						 
					 
					
						
						
							
							tests/qvm-device: tolerate different 'column' tool versions  
						
						... 
						
						
						
						Newer one do output column even if empty, but older one (in Travis-CI
env) do not. Ignore trailing spaces to work with both version. 
						
					 
					
						2016-09-13 02:01:22 +02:00