|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [RFC PATCH 14/14] COLO: implement a new block driver |
Date: | Mon, 23 Feb 2015 17:35:30 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 2015-02-11 at 22:07, Wen Congyang wrote:
Signed-off-by: Wen Congyang <address@hidden> Signed-off-by: zhanghailiang <address@hidden> Signed-off-by: Gonglei <address@hidden> --- block/Makefile.objs | 2 +- block/blkcolo.c | 409 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 410 insertions(+), 1 deletion(-) create mode 100644 block/blkcolo.c
Seeing what you want to use the BlockBackend for (which is, set up an NBD server): I think it's best to create the BlockBackend the moment the NBD server is created, and destroy it the moment the NBD server is stopped (that is, create it in colo_svm_init() and destroy it in colo_svm_fini()).
Max
[Prev in Thread] | Current Thread | [Next in Thread] |