1) ptimer-test is not a qtest---it runs the ptimer.c code directly in the ptimer-test process 2) ptimer-test has its own stubs file, so there is no need to add more stubs to stubs/vmstate.c Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
		
			
				
	
	
		
			21 lines
		
	
	
		
			580 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			580 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "qemu/osdep.h"
 | 
						|
#include "qemu-common.h"
 | 
						|
#include "migration/vmstate.h"
 | 
						|
 | 
						|
const VMStateDescription vmstate_dummy = {};
 | 
						|
 | 
						|
int vmstate_register_with_alias_id(DeviceState *dev,
 | 
						|
                                   int instance_id,
 | 
						|
                                   const VMStateDescription *vmsd,
 | 
						|
                                   void *base, int alias_id,
 | 
						|
                                   int required_for_version)
 | 
						|
{
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
void vmstate_unregister(DeviceState *dev,
 | 
						|
                        const VMStateDescription *vmsd,
 | 
						|
                        void *opaque)
 | 
						|
{
 | 
						|
}
 |