[Qemu-devel] About the snapshot

2011-12-06 Thread Zhi Hui Li
1) : for example: BDRVQcowState *s = bs-opaque; s-snapshots s-nb_snapshots 1:use the command: qemu-img snapshot ./test.qcow2 -c aa the memory of the s-snapshot don't free, if the s-nb_snapshots is large, Does it have some problems. 2: use the command: qemu-system-x86_64 ./test.qcow2

Re: [Qemu-devel] About the snapshot

2011-12-06 Thread Stefan Hajnoczi
On Tue, Dec 6, 2011 at 9:07 AM, Zhi Hui Li zhihu...@linux.vnet.ibm.com wrote: 1) : for example: BDRVQcowState *s = bs-opaque; s-snapshots s-nb_snapshots 1:use the command:   qemu-img snapshot ./test.qcow2  -c aa the memory of the s-snapshot don't free, if the s-nb_snapshots is large,

Re: [Qemu-devel] About the snapshot

2011-12-06 Thread Zhi Hui Li
On 2011年12月06日 17:40, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 9:07 AM, Zhi Hui Lizhihu...@linux.vnet.ibm.com wrote: 1) : for example: BDRVQcowState *s = bs-opaque; s-snapshots s-nb_snapshots 1:use the command: qemu-img snapshot ./test.qcow2 -c aa the memory of the s-snapshot

Re: [Qemu-devel] About the snapshot

2011-12-06 Thread Stefan Hajnoczi
On Tue, Dec 6, 2011 at 10:01 AM, Zhi Hui Li zhihu...@linux.vnet.ibm.com wrote: On 2011年12月06日 17:40, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 9:07 AM, Zhi Hui Lizhihu...@linux.vnet.ibm.com  wrote: 1) : for example: BDRVQcowState *s = bs-opaque; s-snapshots s-nb_snapshots

Re: [Qemu-devel] About the snapshot

2011-12-06 Thread Zhi Hui Li
2011/12/6 Stefan Hajnoczi stefa...@gmail.com On Tue, Dec 6, 2011 at 10:01 AM, Zhi Hui Li zhihu...@linux.vnet.ibm.com wrote: On 2011年12月06日 17:40, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 9:07 AM, Zhi Hui Lizhihu...@linux.vnet.ibm.com wrote: 1) : for example:

Re: [Qemu-devel] About the snapshot

2011-12-06 Thread Stefan Hajnoczi
2011/12/6 Zhi Hui Li zhihu...@linux.vnet.ibm.com: 2011/12/6 Stefan Hajnoczi stefa...@gmail.com On Tue, Dec 6, 2011 at 10:01 AM, Zhi Hui Li zhihu...@linux.vnet.ibm.com wrote: On 2011年12月06日 17:40, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 9:07 AM, Zhi Hui