qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] internal snapshots with sheepdog
@ 2015-09-11 15:49 Vasiliy Tolstov
  2015-09-18  9:02 ` Kevin Wolf
  0 siblings, 1 reply; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-09-11 15:49 UTC (permalink / raw)
  To: qemu-devel

Hi! qcow2 have abilit to store vm state inside qcow2 file in space
that not allocated to guest, but if i want to store vm state inside
sheepdog storage with raw image what is the preferred place to store
memory data?
I simply can create additional vdi equa to memory size of the guest
and save memory to this file...

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

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

* Re: [Qemu-devel] internal snapshots with sheepdog
  2015-09-11 15:49 [Qemu-devel] internal snapshots with sheepdog Vasiliy Tolstov
@ 2015-09-18  9:02 ` Kevin Wolf
  2015-09-18  9:03   ` Vasiliy Tolstov
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Wolf @ 2015-09-18  9:02 UTC (permalink / raw)
  To: Vasiliy Tolstov
  Cc: mitake.hitoshi, namei.unix, sheepdog, qemu-devel, qemu-block

Am 11.09.2015 um 17:49 hat Vasiliy Tolstov geschrieben:
> Hi! qcow2 have abilit to store vm state inside qcow2 file in space
> that not allocated to guest, but if i want to store vm state inside
> sheepdog storage with raw image what is the preferred place to store
> memory data?
> I simply can create additional vdi equa to memory size of the guest
> and save memory to this file...

Doesn't sheepdog already support storing snapshots in the same image?
I thought it would just work; at least, there's some code there for it.

Kevin

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

* Re: [Qemu-devel] internal snapshots with sheepdog
  2015-09-18  9:02 ` Kevin Wolf
@ 2015-09-18  9:03   ` Vasiliy Tolstov
  2015-09-18  9:49     ` Kevin Wolf
  2015-09-18 14:37     ` [Qemu-devel] " Eric Blake
  0 siblings, 2 replies; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-09-18  9:03 UTC (permalink / raw)
  To: Kevin Wolf; +Cc: mitake.hitoshi, namei.unix, sheepdog, qemu-devel, qemu-block

2015-09-18 12:02 GMT+03:00 Kevin Wolf <kwolf@redhat.com>:
> Doesn't sheepdog already support storing snapshots in the same image?
> I thought it would just work; at least, there's some code there for it.


Yes, qemu and sheepdog have ability to create internal snapshot, i
miss that, but when i'm try in libvirt create live snapshot - libvirt
says, that this is not possible with raw image.


-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

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

* Re: [Qemu-devel] internal snapshots with sheepdog
  2015-09-18  9:03   ` Vasiliy Tolstov
@ 2015-09-18  9:49     ` Kevin Wolf
  2015-09-18 10:37       ` [Qemu-devel] [sheepdog] " Hitoshi Mitake
  2015-09-18 14:37     ` [Qemu-devel] " Eric Blake
  1 sibling, 1 reply; 6+ messages in thread
From: Kevin Wolf @ 2015-09-18  9:49 UTC (permalink / raw)
  To: Vasiliy Tolstov
  Cc: sheepdog, qemu-block, mitake.hitoshi, qemu-devel, libvir-list,
	namei.unix

Am 18.09.2015 um 11:03 hat Vasiliy Tolstov geschrieben:
> 2015-09-18 12:02 GMT+03:00 Kevin Wolf <kwolf@redhat.com>:
> > Doesn't sheepdog already support storing snapshots in the same image?
> > I thought it would just work; at least, there's some code there for it.
> 
> Yes, qemu and sheepdog have ability to create internal snapshot, i
> miss that, but when i'm try in libvirt create live snapshot - libvirt
> says, that this is not possible with raw image.

Then I guess your mail should be directed to the libvirt list instead
(CCed).

Kevin

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

* Re: [Qemu-devel] [sheepdog]  internal snapshots with sheepdog
  2015-09-18  9:49     ` Kevin Wolf
@ 2015-09-18 10:37       ` Hitoshi Mitake
  0 siblings, 0 replies; 6+ messages in thread
From: Hitoshi Mitake @ 2015-09-18 10:37 UTC (permalink / raw)
  To: Kevin Wolf
  Cc: sheepdog, qemu-block, libvir-list, qemu-devel, Vasiliy Tolstov,
	Jason Noble

On Fri, Sep 18, 2015 at 6:49 PM, Kevin Wolf <kwolf@redhat.com> wrote:
> Am 18.09.2015 um 11:03 hat Vasiliy Tolstov geschrieben:
>> 2015-09-18 12:02 GMT+03:00 Kevin Wolf <kwolf@redhat.com>:
>> > Doesn't sheepdog already support storing snapshots in the same image?
>> > I thought it would just work; at least, there's some code there for it.
>>
>> Yes, qemu and sheepdog have ability to create internal snapshot, i
>> miss that, but when i'm try in libvirt create live snapshot - libvirt
>> says, that this is not possible with raw image.
>
> Then I guess your mail should be directed to the libvirt list instead
> (CCed).

The problem can be seen with libvirt v1.2.12 based on the report from Jason:
https://github.com/sheepdog/sheepdog/issues/157

Seems that the commit f7c1410b0ee5b878e81f2eddf86c609947a9b27c of
libvirt is causing this problem. Fortunately, Jason is already working
on solving this regression.

Thanks,
Hitoshi

>
> Kevin
> --
> sheepdog mailing list
> sheepdog@lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog

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

* Re: [Qemu-devel] internal snapshots with sheepdog
  2015-09-18  9:03   ` Vasiliy Tolstov
  2015-09-18  9:49     ` Kevin Wolf
@ 2015-09-18 14:37     ` Eric Blake
  1 sibling, 0 replies; 6+ messages in thread
From: Eric Blake @ 2015-09-18 14:37 UTC (permalink / raw)
  To: Vasiliy Tolstov, Kevin Wolf
  Cc: mitake.hitoshi, namei.unix, sheepdog, qemu-devel, qemu-block

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

On 09/18/2015 03:03 AM, Vasiliy Tolstov wrote:
> 2015-09-18 12:02 GMT+03:00 Kevin Wolf <kwolf@redhat.com>:
>> Doesn't sheepdog already support storing snapshots in the same image?
>> I thought it would just work; at least, there's some code there for it.
> 
> 
> Yes, qemu and sheepdog have ability to create internal snapshot, i
> miss that, but when i'm try in libvirt create live snapshot - libvirt
> says, that this is not possible with raw image.

That may be a case of libvirt being over-conservative because no one has
provided a patch to utilize what qemu provides.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

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

end of thread, other threads:[~2015-09-18 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 15:49 [Qemu-devel] internal snapshots with sheepdog Vasiliy Tolstov
2015-09-18  9:02 ` Kevin Wolf
2015-09-18  9:03   ` Vasiliy Tolstov
2015-09-18  9:49     ` Kevin Wolf
2015-09-18 10:37       ` [Qemu-devel] [sheepdog] " Hitoshi Mitake
2015-09-18 14:37     ` [Qemu-devel] " Eric Blake

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).