 f42cd28901
			
		
	
	
		f42cd28901
		
			
		
	
	
	
	
		
			
			Install files in /etc/qubes-rpc for all methods defined in API documentation, even if not yet implemented (qubesd will handle it raising appropriate exception). Use minimal program written in C (qubesd-query-fast), instead of qubesd-query in python for performance reasons: - a single qubesd-query run: ~300ms - equivalent in shell (echo | nc -U): ~40ms - qubesd-query-fast: ~20ms Many tools makes multiple API calls, so performance here do matter. For example qvm-ls (from VM) currently takes about 60s on a system with 24 VMs. Also make use of `$include:` directive in policy file, to make it easier defining a VM with full Admin API access. QubesOS/qubes-issues#853
		
			
				
	
	
		
			9 lines
		
	
	
		
			108 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			108 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| CFLAGS=-O3
 | |
| 
 | |
| all: qubesd-query-fast
 | |
| 
 | |
| qubesd-query-fast: qubesd-query-fast.c
 | |
| 
 | |
| clean:
 | |
| 	rm -f qubesd-query-fast
 |