xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Edouard LEJOSNE <jean-edouard.lejosne@citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] xl: field 'type' not set in dm_info
Date: Thu, 25 Mar 2010 12:03:01 +0000	[thread overview]
Message-ID: <ab5cdce21003250503r3751f6d4k804dcebbc20895ef@mail.gmail.com> (raw)

This fixes a bug that makes xl start qemu without the FV/PV specific options.

Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>

diff -r 377433a77d70 tools/libxl/xl.c
--- a/tools/libxl/xl.c	Wed Mar 24 11:06:48 2010 +0000
+++ b/tools/libxl/xl.c	Thu Mar 25 11:14:33 2010 +0000
@@ -660,6 +660,8 @@
         if (!xlu_cfg_get_string (config, "usbdevice", &buf))
             dm_info->usbdevice = strdup(buf);
     }
+
+    dm_info->type = (c_info->hvm) ? XENFV : XENPV;

     xlu_cfg_destroy(config);
 }

--
Jean-Edouard LEJOSNE
XenClient Team
jean-edouard.lejosne@citrix.com

                 reply	other threads:[~2010-03-25 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab5cdce21003250503r3751f6d4k804dcebbc20895ef@mail.gmail.com \
    --to=jean-edouard.lejosne@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).