> diff --git a/cpus.c b/cpus.c > index 82530c4..ae5ec99 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -398,6 +398,7 @@ static void do_vm_stop(RunState state) > vm_state_notify(0, state); > qemu_aio_flush(); > bdrv_flush_all(); > + bdrv_invalidate_cache_all(); > monitor_protocol_event(QEVENT_STOP, NULL); > }
This is too much. Reopening all qcow2 images each time that we stop the vm looks excesive, no? Later, Juan.