/* qmp command doesn't support the driver "nbd" */
node = GCSPRINTF("colo_node%d",
libxl__device_disk_dev_number(disk->vdev, NULL, NULL));
- cmd = GCSPRINTF("drive_add buddy driver=replication,mode=primary,"
+ cmd = GCSPRINTF("drive_add -n buddy driver=replication,mode=primary,"
"file.driver=nbd,file.host=%s,file.port=%d,"
- "file.export=%s,node-name=%s,if=none",
+ "file.export=%s,node-name=%s",
host, port, export_name, node);
ret = libxl__qmp_hmp(gc, domid, cmd, NULL);
if (ret)