qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] how to delete a savevm in image?
@ 2011-11-08  6:58 Jun Koi
  2011-11-08  7:20 ` Dong Xu Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Jun Koi @ 2011-11-08  6:58 UTC (permalink / raw)
  To: qemu-devel

hi,

during the run of my VM, i used "savevm" to save the VM status down.
now how can i delete that?

i checked qemu-img, and it doesnt seem to have any option to delete
the savevm in the VM image.

thanks,
Jun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] how to delete a savevm in image?
  2011-11-08  6:58 [Qemu-devel] how to delete a savevm in image? Jun Koi
@ 2011-11-08  7:20 ` Dong Xu Wang
       [not found]   ` <CA+g7VZ0-HzQu83zafPH2JdyXzpzGPRR_qURygkX_rpbpU8fP=g@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Dong Xu Wang @ 2011-11-08  7:20 UTC (permalink / raw)
  To: Jun Koi; +Cc: qemu-devel

You can try like this:

(qemu) info snapshots
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
(qemu) savevm save_name_1
(qemu) info snapshots
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
2         save_name_1            202M 2011-10-25 13:51:53   00:04:28.395
(qemu) loadvm vm-20111025134936
(qemu) delvm save_name_1
(qemu) info snapshots
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
(qemu)


So if you delete, you can use delvm.

2011/11/8 Jun Koi <junkoi2004@gmail.com>:
> hi,
>
> during the run of my VM, i used "savevm" to save the VM status down.
> now how can i delete that?
>
> i checked qemu-img, and it doesnt seem to have any option to delete
> the savevm in the VM image.
>
> thanks,
> Jun
>
>



-- 
Regards
Robert Wang

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] how to delete a savevm in image?
       [not found]     ` <CA+g7VZ0pK4za9Jj5GywpFuJD_CN7AiL_tde=_MDGEJ7=0k1DYw@mail.gmail.com>
@ 2011-11-09  1:48       ` Dong Xu Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Dong Xu Wang @ 2011-11-09  1:48 UTC (permalink / raw)
  To: Jun Koi, qemu-devel

Please use reply-all, then others could contribute.:)

于 2011年11月08日 15:45, Jun Koi 写道:
> On Tue, Nov 8, 2011 at 3:43 PM, Jun Koi<junkoi2004@gmail.com>  wrote:
>> On Tue, Nov 8, 2011 at 3:20 PM, Dong Xu Wang<wdongxu@linux.vnet.ibm.com>  wrote:
>>> You can try like this:
>>>
>>> (qemu) info snapshots
>>> ID        TAG                 VM SIZE                DATE       VM CLOCK
>>> 1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
>>> (qemu) savevm save_name_1
>>> (qemu) info snapshots
>>> ID        TAG                 VM SIZE                DATE       VM CLOCK
>>> 1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
>>> 2         save_name_1            202M 2011-10-25 13:51:53   00:04:28.395
>>> (qemu) loadvm vm-20111025134936
>>> (qemu) delvm save_name_1
>>> (qemu) info snapshots
>>> ID        TAG                 VM SIZE                DATE       VM CLOCK
>>> 1         vm-20111025134936      202M 2011-10-25 13:49:36   00:02:19.524
>>> (qemu)
>>>
>>>
>>> So if you delete, you can use delvm.
>>>
>>
>> this is excellent, thanks!
>>
>> but i believe that qemu-img should do this job instead. any pending
>> plan for this feature?
>
> oops i just saw the snapshot command of qemu-img.
>
> thanks,
> J
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-09  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08  6:58 [Qemu-devel] how to delete a savevm in image? Jun Koi
2011-11-08  7:20 ` Dong Xu Wang
     [not found]   ` <CA+g7VZ0-HzQu83zafPH2JdyXzpzGPRR_qURygkX_rpbpU8fP=g@mail.gmail.com>
     [not found]     ` <CA+g7VZ0pK4za9Jj5GywpFuJD_CN7AiL_tde=_MDGEJ7=0k1DYw@mail.gmail.com>
2011-11-09  1:48       ` Dong Xu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).