Revision 28a7282a monitor.c

b/monitor.c
1221 1221
    int err;
1222 1222
};
1223 1223

  
1224
static void iostatus_bdrv_it(void *opaque, BlockDriverState *bs)
1225
{
1226
    bdrv_iostatus_reset(bs);
1227
}
1228

  
1224 1229
/**
1225 1230
 * do_cont(): Resume emulation.
1226 1231
 */
......
1237 1242
        return -1;
1238 1243
    }
1239 1244

  
1245
    bdrv_iterate(iostatus_bdrv_it, NULL);
1240 1246
    bdrv_iterate(encrypted_bdrv_it, &context);
1241 1247
    /* only resume the vm if all keys are set and valid */
1242 1248
    if (!context.err) {

Also available in: Unified diff