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

[Xen-devel] [PATCH] libxl: use '-name' instead of deprecated '-domain-name' for device model

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Wei Liu <liuw@xxxxxxxxx>
  • Date: Tue, 7 Jun 2011 14:48:42 +0800
  • Delivery-date: Mon, 06 Jun 2011 23:48:57 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

commit 6c744543757f0769e5a8f49ab0d8a01538357fbb
Author: Wei Liu <liuw@xxxxxxxxx>
Date:   Tue Jun 7 14:26:34 2011 +0800

    libxl: use '-name' instead of deprecated '-domain-name' for device model.
    This unifies upstream qemu and Xen's qemu-dm startup option.
    Signed-off-by: Wei Liu <liuw@xxxxxxxxx>

diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 47a51c8..d53a20d 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -95,7 +95,7 @@ static char ** libxl__build_device_model_args_old(libxl__gc 
                       "-d", libxl__sprintf(gc, "%d", info->domid), NULL);
     if (info->dom_name)
-        flexarray_vappend(dm_args, "-domain-name", info->dom_name, NULL);
+        flexarray_vappend(dm_args, "-name", info->dom_name, NULL);
     if (info->vnc) {
         char *vncarg;

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.