Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							313d7422e7 
							
						 
					 
					
						
						
							
							tests: remove obsolete tests, formatting  
						
						
						
					 
					
						2017-06-06 03:33:31 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ed0b14d93 
							
						 
					 
					
						
						
							
							vm: make vm.hvm=True by default  
						
						... 
						
						
						
						QubesOS/qubes-issues#2185  
					
						2017-06-05 23:38:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							df03800278 
							
						 
					 
					
						
						
							
							Fix miscellaneous warnings  
						
						... 
						
						
						
						Among them:
- explicitly close files (possibly using with: syntax)
- use non-deprecated methods 
						
					 
					
						2017-05-29 17:34:15 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							b256af3bfb 
							
						 
					 
					
						
						
							
							qubes.tests asyncio  
						
						... 
						
						
						
						QubesOS/qubes-issues#2622  
					
						2017-05-29 17:34:15 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f93583e2be 
							
						 
					 
					
						
						
							
							devices: adjust XML serialization of device options  
						
						... 
						
						
						
						Use '<option name="option_name">option_value</option>' instead of
'<options option_name="option_value"/>'. It's more consistent with the
rest of qubes.xml - have one thing per element.
Also, add options deserialization test. 
						
					 
					
						2017-05-22 17:11:20 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6bc44b43de 
							
						 
					 
					
						
						
							
							pci: adjust PCIDeviceExtension device identifier syntax  
						
						... 
						
						
						
						':' is not allowed in device identifier, replace it with '_'.
Warning: this breaks existing qubes.xml 
						
					 
					
						2017-05-22 17:11:19 +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 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1b005964f 
							
						 
					 
					
						
						
							
							Fix tests broken by the new assignment api  
						
						
						
					 
					
						2017-04-15 23:48:59 +02: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 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d74567d65f 
							
						 
					 
					
						
						
							
							qubes: port core to python3  
						
						... 
						
						
						
						fixes  QubesOS/qubes-issues#2074  
					
						2017-01-20 16:42:51 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aa67a4512e 
							
						 
					 
					
						
						
							
							qubes/ext/pci: move PCI devices handling to an extension  
						
						... 
						
						
						
						Implement required event handlers according to documentation in
qubes.devices.
A modification of qubes.devices.DeviceInfo is needed to allow dynamic,
read-only properties.
QubesOS/qubes-issues#2257  
						
					 
					
						2016-09-03 20:41:03 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d7a3c0d319 
							
						 
					 
					
						
						
							
							qubes: new devices API  
						
						... 
						
						
						
						Allow device plugin to list attached and available devices. Enforce
at API level every device being exposed by some domain.
This commit only changes devices API, but not update existing users
(pci) yet.
QubesOS/qubes-issues#2257  
						
					 
					
						2016-09-03 20:40:39 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0293c1c7ef 
							
						 
					 
					
						
						
							
							qubes/vm: move misc XML tags loading to separate method  
						
						
						
					 
					
						2016-08-18 11:57:11 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d28ab908cc 
							
						 
					 
					
						
						
							
							Network and storage fixes  
						
						
						
					 
					
						2016-06-29 16:42:35 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d6ad8d34a6 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'marmarek/patch-1' into core3-devel  
						
						
						
					 
					
						2016-06-16 21:46:53 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9a55cc198 
							
						 
					 
					
						
						
							
							tests: use offline mode  
						
						... 
						
						
						
						QubesOS/qubes-issues#2008  
					
						2016-06-16 17:04:16 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							27d0e11872 
							
						 
					 
					
						
						
							
							qubes/tests/vm: fix tests  
						
						
						
					 
					
						2016-06-02 15:46:01 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							28591fa6be 
							
						 
					 
					
						
						
							
							tests: remove/skip some tests  
						
						... 
						
						
						
						1. It is unclear yet whether dispvm_netvm will be implemented in core3, but
probably not.
2. Remove tests for setting memory/cpu above host resouces - rejecting
those values at property set time would break backup restore on some
machines (when migrating from bigger to smaller system). 
						
					 
					
						2016-06-02 13:09:39 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							bf0966bfcf 
							
						 
					 
					
						
						
							
							tests: fix get_label mockup to return meaningful values  
						
						... 
						
						
						
						Reject invalid argument. 
						
					 
					
						2016-06-02 13:08:48 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							07b72ef3fd 
							
						 
					 
					
						
						
							
							tests: fix after moving VMCollection to qubes.app  
						
						
						
					 
					
						2016-06-02 12:37:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							786884ad7a 
							
						 
					 
					
						
						
							
							qubes: fix netvm properties and tests  
						
						... 
						
						
						
						fixes  QubesOS/qubes-issues#1816  
					
						2016-05-19 03:02:23 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							e3aae7bc17 
							
						 
					 
					
						
						
							
							qubes: Minor fixes  
						
						... 
						
						
						
						Fix mock TestApp object and argument parsing in qvm-run. 
						
					 
					
						2016-05-05 16:58:43 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c76790fbde 
							
						 
					 
					
						
						
							
							qubes/tests/vm/qubesvm: fix test for vm.internal  
						
						... 
						
						
						
						On flipping .internal vm (re)creates appmenus. They need label. 
						
					 
					
						2016-05-05 14:38:04 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							12df07edd0 
							
						 
					 
					
						
						
							
							tests: invalid property should not be saved to qubes.xml  
						
						
						
					 
					
						2016-04-07 13:03:42 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							7f5feac98b 
							
						 
					 
					
						
						
							
							qubes/vm: fixes for features handling  
						
						... 
						
						
						
						Properly handle 'None' value, there is no difference between empty
string (<x></x>) and no content at all (<x/>). 
						
					 
					
						2016-04-07 13:03:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							43435405e7 
							
						 
					 
					
						
						
							
							tests: update checking 'None' VM representation  
						
						
						
					 
					
						2016-04-07 12:57:47 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							394fa1e5d3 
							
						 
					 
					
						
						
							
							qubes/tests: tests for qubes.devices  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							93686eae06 
							
						 
					 
					
						
						
							
							qubes/vm: change services to features  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							79a6da1163 
							
						 
					 
					
						
						
							
							tests: split off invalid values tests for better reporting  
						
						... 
						
						
						
						Most of them fails for now... 
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							5a409ad417 
							
						 
					 
					
						
						
							
							tests: few more (disabled for now) tests for hvm related properties  
						
						
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							9633573408 
							
						 
					 
					
						
						
							
							core: adjust units comment for host.memory_total, and fix related places  
						
						... 
						
						
						
						QubesOS/qubes-issues#1737  
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							9b1b82c592 
							
						 
					 
					
						
						
							
							tests: move properties tests to QubesVM unit tests  
						
						... 
						
						
						
						Since qvm-prefs is now a generic tool without any property-specific
stuff, we can tests properties getters/setters in QubesVM class unit
tests.
Now most of properties are tested. Some of those tests still fails
because missing/incomplete underlying implementation. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							638c31ce68 
							
						 
					 
					
						
						
							
							qubes/tests/vm/qubesvm: some more tests  
						
						
						
					 
					
						2016-01-21 13:31:43 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							689dd64b0d 
							
						 
					 
					
						
						
							
							qubes: misc pylint fixes  
						
						
						
					 
					
						2015-12-29 22:04:00 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							bf4dbe07d5 
							
						 
					 
					
						
						
							
							qubes/tests/vm/qubesvm: add basic tests for QubesVM  
						
						... 
						
						
						
						And already one fix to instantiation. 
						
					 
					
						2015-12-29 20:35:04 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							96efb4568a 
							
						 
					 
					
						
						
							
							core3: add different exceptions  
						
						... 
						
						
						
						From now on there are different exceptions which can be raise on
different occasions.
fixes  QubesOS/qubes-issues#1279  
						
					 
					
						2015-10-17 00:17:12 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							45977fc873 
							
						 
					 
					
						
						
							
							qubes: fix VM instantiation and loading  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							6798790e1f 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (fix signatures)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							adb144acfe 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (small mistakes and wrong names)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							4a85c823c3 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (qualify imported variables)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							bf29d5e5b5 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (disable unfounded messages)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							ac1739df6b 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (fix imports)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							ee06e7d7a2 
							
						 
					 
					
						
						
							
							qubes: documentation and licence fixes  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							cdc3df66c8 
							
						 
					 
					
						
						
							
							qubes: pylint fixes (mostly whitespace)  
						
						
						
					 
					
						2015-06-29 17:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							8805db5e5f 
							
						 
					 
					
						
						
							
							core3 move: AdminVM class  
						
						
						
					 
					
						2015-06-29 17:39:26 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							a13a41fbaf 
							
						 
					 
					
						
						
							
							qubes/tests: fix testrunner dependency on being run in specific directory  
						
						
						
					 
					
						2015-06-29 17:39:26 +02:00 
						 
				 
			
				
					
						
							
							
								Wojciech Zygmunt Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							118edb6ac4 
							
						 
					 
					
						
						
							
							First RelaxNG schema of qubes.xml  
						
						... 
						
						
						
						Schema is most likely incomplete. 
						
					 
					
						2015-06-29 17:39:25 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							613b03d277 
							
						 
					 
					
						
						
							
							qubes/tests: Common TestEmitter class  
						
						... 
						
						
						
						qubes.tests.TestEmitter is intended to check whether specific event fired on
given emitter. 
						
					 
					
						2015-06-29 17:39:24 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							a82bf7cc54 
							
						 
					 
					
						
						
							
							qubes/tests: Move unit tests inside qubes/, add runner  
						
						
						
					 
					
						2015-06-29 17:39:24 +02:00