* [Qemu-devel] from which version qemu support clone on rbd
@ 2014-07-02 15:17 yue
2014-07-02 15:36 ` Brian Jackson
2014-07-04 8:20 ` Stefan Hajnoczi
0 siblings, 2 replies; 5+ messages in thread
From: yue @ 2014-07-02 15:17 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
hi,all
i now look at qemu 2.0, i do not find rbd-api related to clone.
if qemu support this function? and from which version?
clone api of rbd is very simple(one api), why qemu does not implement?what is the reason?
thanks.
[-- Attachment #2: Type: text/html, Size: 505 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] from which version qemu support clone on rbd
2014-07-02 15:17 [Qemu-devel] from which version qemu support clone on rbd yue
@ 2014-07-02 15:36 ` Brian Jackson
2014-07-03 1:12 ` yue
2014-07-04 8:20 ` Stefan Hajnoczi
1 sibling, 1 reply; 5+ messages in thread
From: Brian Jackson @ 2014-07-02 15:36 UTC (permalink / raw)
To: yue, qemu-devel
Qemu doesn't handle that level of abstraction. The closest approximation
you could probably come up with is qemu-img's backing file support for
qcow2 images.
You should stick to using the rbd tool to create clones of rbd devices.
Alternatively, use a higher level tool (like openstack, etc) that
supports this.
--Iggy
On 7/2/2014 10:17 AM, yue wrote:
> hi,all
> i now look at qemu 2.0, i do not find rbd-api related to clone.
> if qemu support this function? and from which version?
> clone api of rbd is very simple(one api), why qemu does not
> implement?what is the reason?
> thanks.
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] from which version qemu support clone on rbd
2014-07-02 15:36 ` Brian Jackson
@ 2014-07-03 1:12 ` yue
2014-07-03 4:41 ` Brian Jackson
0 siblings, 1 reply; 5+ messages in thread
From: yue @ 2014-07-03 1:12 UTC (permalink / raw)
To: Brian Jackson; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 828 bytes --]
could you tell me why 'Qemu doesn't handle that level of abstraction'?
i know qcow2 well, you can tell me the comparation。
thanks
At 2014-07-02 11:36:12, "Brian Jackson" <iggy@theiggy.com> wrote:
>Qemu doesn't handle that level of abstraction. The closest approximation
>you could probably come up with is qemu-img's backing file support for
>qcow2 images.
>
>You should stick to using the rbd tool to create clones of rbd devices.
>Alternatively, use a higher level tool (like openstack, etc) that
>supports this.
>
>--Iggy
>
>
>On 7/2/2014 10:17 AM, yue wrote:
>> hi,all
>> i now look at qemu 2.0, i do not find rbd-api related to clone.
>> if qemu support this function? and from which version?
>> clone api of rbd is very simple(one api), why qemu does not
>> implement?what is the reason?
>> thanks.
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 1222 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] from which version qemu support clone on rbd
2014-07-03 1:12 ` yue
@ 2014-07-03 4:41 ` Brian Jackson
0 siblings, 0 replies; 5+ messages in thread
From: Brian Jackson @ 2014-07-03 4:41 UTC (permalink / raw)
To: yue; +Cc: qemu-devel
On Wednesday, July 2, 2014 8:12:17 PM CDT, yue wrote:
> could you tell me why 'Qemu doesn't handle that level of abstraction'?
> i know qcow2 well, you can tell me the comparation。
Qemu would have to have a lot of extra code (that already exists elsewhere)
to support taking snapshots/clones/etc of every backend device it supports.
In the case of qcow2, the support exists because of the whole system
snapshotting feature. Otherwise it's "bloat" that Qemu doesn't normally
handle (it's left to the management layers above to handle).
--Iggy
>
> thanks
>
>
>
>
>
>
>
> At 2014-07-02 11:36:12, "Brian Jackson" <iggy@theiggy.com> wrote:
>> Qemu doesn't handle that level of abstraction. The closest approximation
>> you could probably come up with is qemu-img's backing file support for
>> qcow2 images.
>>
>> You should stick to using the rbd tool to create clones of rbd devices.
>> Alternatively, use a higher level tool (like openstack, etc) that ...
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] from which version qemu support clone on rbd
2014-07-02 15:17 [Qemu-devel] from which version qemu support clone on rbd yue
2014-07-02 15:36 ` Brian Jackson
@ 2014-07-04 8:20 ` Stefan Hajnoczi
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2014-07-04 8:20 UTC (permalink / raw)
To: yue; +Cc: Josh Durgin, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
On Wed, Jul 02, 2014 at 11:17:40PM +0800, yue wrote:
> i now look at qemu 2.0, i do not find rbd-api related to clone.
> if qemu support this function? and from which version?
> clone api of rbd is very simple(one api), why qemu does not implement?what is the reason?
rbd_snap_create()? QEMU supports it.
Maybe clones are a different concept from snapshots in RADOS. I have
CCed Josh Durgin from Ceph. Please CC in the future for questions about
rbd.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-07-04 8:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 15:17 [Qemu-devel] from which version qemu support clone on rbd yue
2014-07-02 15:36 ` Brian Jackson
2014-07-03 1:12 ` yue
2014-07-03 4:41 ` Brian Jackson
2014-07-04 8:20 ` Stefan Hajnoczi
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).