Il 13/09/2012 15:26, Kevin Wolf ha scritto: >>>>> + flags = bs->open_flags | BDRV_O_RDWR; >>> >> Do we take care to make the image read-only again after completion? >> > >> > Not at the file-descriptor level, but bs->read_only is indeed restored >> > to "true" via bdrv_swap. >> > >> > Doing it on the file descriptor is possible with Jeff's bdrv_reopen >> > patches. > Ah, right, obviously you can't do it before Jeff's patches are in. But > yes, this is what I meant.
Still, the guest won't be able to issue writes after switching to the destination, if it couldn't do so before. Paolo