 6f0609697f
			
		
	
	
		6f0609697f
		
	
	
	
	
		
			
			This patch includes modifications of common cpu files. All interrupts and exceptions occured during recording are written into the replay log. These events allow correct replaying the execution by kicking cpu thread when one of these events is found in the log. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20150917162416.8676.57647.stgit@PASHA-ISP.def.inno> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			518 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			518 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * replay.c
 | |
|  *
 | |
|  * Copyright (c) 2010-2015 Institute for System Programming
 | |
|  *                         of the Russian Academy of Sciences.
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #include "sysemu/replay.h"
 | |
| 
 | |
| bool replay_exception(void)
 | |
| {
 | |
|     return true;
 | |
| }
 | |
| 
 | |
| bool replay_has_exception(void)
 | |
| {
 | |
|     return false;
 | |
| }
 | |
| 
 | |
| bool replay_interrupt(void)
 | |
| {
 | |
|     return true;
 | |
| }
 | |
| 
 | |
| bool replay_has_interrupt(void)
 | |
| {
 | |
|     return false;
 | |
| }
 |