|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/3] Add COLO replication top-id support
Because of qemu colo add the top-id, so we update it.
Signed-off-by: Zhang Chen <zhangchen.fnst@xxxxxxxxxxxxxx>
---
tools/libxl/libxl_dm.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index ad366a8..815938e 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -826,8 +826,10 @@ static char *qemu_disk_scsi_drive_string(libxl__gc *gc,
const char *target_path,
* file.backing.backing=exportname,
*/
drive = GCSPRINTF(
- "if=scsi,bus=0,unit=%d,cache=writeback,driver=replication,"
+ "if=scsi,id=top-colo,bus=0,unit=%d,cache=writeback,"
+ "driver=replication,"
"mode=secondary,"
+ "top-id=top-colo,"
"file.driver=qcow2,"
"file.file.filename=%s,"
"file.backing.driver=qcow2,"
@@ -889,8 +891,10 @@ static char *qemu_disk_ide_drive_string(libxl__gc *gc,
const char *target_path,
* file.backing.backing=exportname,
*/
drive = GCSPRINTF(
- "if=ide,index=%d,media=disk,cache=writeback,driver=replication,"
+ "if=ide,index=%d,id=top-colo,media=disk,cache=writeback,"
+ "driver=replication,"
"mode=secondary,"
+ "top-id=top-colo,"
"file.driver=qcow2,"
"file.file.filename=%s,"
"file.backing.driver=qcow2,"
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |