summaryrefslogblamecommitdiffstats
path: root/stubs/vmstate.c
blob: e1e89b87f0d89b122d4e8b3b49dcffa5e736405f (plain) (tree)
1
2
3
4
5
6
7
8
9
                       

                              

                                            



                                                                  

                                                            








                                                       
 
                                                                  
 
                
 
#include "qemu/osdep.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,
                                   Error **errp)
{
    return 0;
}

void vmstate_unregister(DeviceState *dev,
                        const VMStateDescription *vmsd,
                        void *opaque)
{
}

bool vmstate_check_only_migratable(const VMStateDescription *vmsd)
{
    return true;
}