qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] replication agent module


From: Anthony Liguori
Subject: Re: [Qemu-devel] [RFC PATCH] replication agent module
Date: Tue, 07 Feb 2012 06:40:26 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 02/07/2012 06:30 AM, Ori Mamluk wrote:
In addition, I don't see that the listener thread holds any lock while
it reads the image. I guess that during that period the guest runs and may
race w/ this new thread.

Yes - I mentioned that in the patch mail as one of the open issues. Can
you direct me to the lock I need? The function I call from a new thread
context is bdrv_aio_readv.

One thing that has me confused about this proposal. Why not just make rehub be an iSCSI target provider and call it a day?

Regards,

Anthony Liguori


-----Original Message-----
From: Dor Laor [mailto:address@hidden
Sent: Tuesday, February 07, 2012 2:25 PM
To: Anthony Liguori
Cc: Ori Mamluk; Kevin Wolf; address@hidden
Subject: Re: [Qemu-devel] [RFC PATCH] replication agent module

On 02/07/2012 02:12 PM, Anthony Liguori wrote:
Hi,

On 02/07/2012 04:29 AM, Ori Mamluk wrote:
Repagent is a new module that allows an external replication system
to replicate a volume of a Qemu VM.

This RFC patch adds the repagent client module to Qemu.

Please read http://wiki.qemu.org/Contribute/SubmitAPatch

In particular, use a tool like git-send-email and split this patch up
into more manageable chunks.

Is there an Open Source rehub available? As a project policy, adding
external APIs specifically for proprietary software is not something
we're willing to do.

Regards,

Anthony Liguori

In addition, I don't see that the listener thread holds any lock while it
reads the image. I guess that during that period the guest runs and may
race w/ this new thread.

About image ID for the replication hub, you can use the VM's pid or VM's
uuid paired w/ the specific disk uuid

Thanks,
Dor





reply via email to

[Prev in Thread] Current Thread [Next in Thread]