[PATCH 1/2] qemu: refresh state after reset