All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: use '-name' instead of deprecated '-domain-name' for device model
@ 2011-06-07  6:48 Wei Liu
  2011-06-07 11:52 ` Stefano Stabellini
  0 siblings, 1 reply; 6+ messages in thread
From: Wei Liu @ 2011-06-07  6:48 UTC (permalink / raw)
  To: xen-devel

commit 6c744543757f0769e5a8f49ab0d8a01538357fbb
Author: Wei Liu <liuw@liuw.name>
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@liuw.name>

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 *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;

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-07 12:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07  6:48 [PATCH] libxl: use '-name' instead of deprecated '-domain-name' for device model Wei Liu
2011-06-07 11:52 ` Stefano Stabellini
2011-06-07 12:11   ` Wei Liu
2011-06-07 12:54     ` Stefano Stabellini
2011-06-07 12:16   ` Wei Liu
2011-06-07 12:54     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.