I want to change the path of temporary snapshot file. Can you gei
me some ideas, or tell me which file will write
the temporary snapshot file in qemu source code.
thanks.
2012/9/6 xuanmao_001 <xuanmao_001@163.com>:
> Hi, all,
> When I start VM with snapshot mode(--snapshot). I do some operations,like
> copy, delete files. I must shutdown VM, the disk state can revert.
> so I want to know if the snapshot mode can revert when I reboot VM.
>
No, it cant.
Actually, when you start QEMU with -snapshot, a temporary snapshot file
which is not visible to the user will be created in /tmp, the file
will exist util QEMU exit.
So even if you reboot VM, QEMU is still running and the temporary
snapshot also exists.
This make you failed to convert VM after reboot.
> Thanks.
> ________________________________
> xuanmao_001
--
Best Regards,
Dunrong Huang