Allow qtest to be used together with a virtual CPU
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Message-id: 1366054097-14132-1-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
		
							parent
							
								
									fe6c211781
								
							
						
					
					
						commit
						a907cf59d8
					
				
							
								
								
									
										4
									
								
								vl.c
								
								
								
								
							
							
						
						
									
										4
									
								
								vl.c
								
								
								
								
							| 
						 | 
				
			
			@ -4127,6 +4127,10 @@ int main(int argc, char **argv, char **envp)
 | 
			
		|||
 | 
			
		||||
    configure_accelerator();
 | 
			
		||||
 | 
			
		||||
    if (!qtest_enabled() && qtest_chrdev) {
 | 
			
		||||
        qtest_init();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
 | 
			
		||||
    if (machine_opts) {
 | 
			
		||||
        kernel_filename = qemu_opt_get(machine_opts, "kernel");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue