api/internal: don't try to start dom0
qrexec-policy do try to start a VM before executing service. Avoid this here, instead of qrexec-policy to keep the later clean.
This commit is contained in:
		
							parent
							
								
									4c7dafe85e
								
							
						
					
					
						commit
						1831088c9b
					
				@ -62,6 +62,8 @@ class QubesInternalAPI(qubes.api.AbstractQubesAPI):
 | 
				
			|||||||
    @asyncio.coroutine
 | 
					    @asyncio.coroutine
 | 
				
			||||||
    def start(self):
 | 
					    def start(self):
 | 
				
			||||||
        assert not self.arg
 | 
					        assert not self.arg
 | 
				
			||||||
 | 
					        if self.dest.name == 'dom0':
 | 
				
			||||||
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        yield from self.dest.start()
 | 
					        yield from self.dest.start()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user