All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yang, Xiaowei" <xiaowei.yang@intel.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] allow VM configuration with both sdl=1 and vnc=1
Date: Tue, 10 Mar 2009 11:32:50 +0800	[thread overview]
Message-ID: <49B5DF62.6060004@intel.com> (raw)

Hi Stefano,
HVM can't boot up with sdl this week. I found it's caused by one section 
of this patch (see below). With it Qemu exits because of unrecognized 
option (-sdl). I'm not familiar with vfb. Can you check it's necessary?

Thanks,
xiaowei


diff -r ec3d0937095d -r 0942baa2a088 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Fri Mar 06 19:10:29 2009 +0000
+++ b/tools/python/xen/xend/image.py    Fri Mar 06 19:13:23 2009 +0000
@@ -335,11 +336,12 @@ class ImageHandler:
              if int(vnc_config.get('vncunused', 1)) != 0:
                  ret.append('-vncunused')

-        elif has_sdl:
-            # SDL is default in QEMU.
+        if has_sdl:
+            ret.append('-sdl')
              if int(vmConfig['platform'].get('opengl', opengl)) != 1 :
                  ret.append('-disable-opengl')
-        else:
+
+        if not has_sdl and not has_vnc :
              ret.append('-nographic')

          if int(vmConfig['platform'].get('monitor', 0)) != 0:

             reply	other threads:[~2009-03-10  3:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10  3:32 Yang, Xiaowei [this message]
2009-03-10 10:43 ` [PATCH] allow VM configuration with both sdl=1 and vnc=1 Stefano Stabellini
2009-03-10 12:12   ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 18:33 Stefano Stabellini

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=49B5DF62.6060004@intel.com \
    --to=xiaowei.yang@intel.com \
    --cc=stefano.stabellini@eu.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 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.