/* Replaces the currently available boot properties by those stored * in a snapshot. */ static int boot_property_load( QEMUFile* f, QemudService* service, void* opaque ) { int ret; /* remove properties from old run */ boot_property_clear_all(); /* load properties from snapshot */ uint32_t i, property_count = qemu_get_be32(f); for (i = 0; i < property_count; i++) { if ((ret = boot_property_load_property(f))) { return ret; } } return 0; }
static int boot_property_load( QEMUFile* f, QemudService* service, void* opaque ) { int ret; boot_property_clear_all(); uint32_t i, property_count = qemu_get_be32(f); for (i = 0; i < property_count; i++) { if ((ret = boot_property_load_property(f))) { return ret; } } return 0; }