From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Jun Koi <junkoi2004@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Re: 2 errors with latest Xen
Date: Wed, 04 Feb 2009 12:10:04 +0000 [thread overview]
Message-ID: <4989859C.1020505@eu.citrix.com> (raw)
In-Reply-To: <fdaac4d50902032158v1ceb15e3mf01dbbae13781236@mail.gmail.com>
Jun Koi wrote:
> On Wed, Feb 4, 2009 at 12:35 PM, Jun Koi <junkoi2004@gmail.com> wrote:
>> Hi,
>>
>> I use the latest Xen from hg repo to run 2 HVM here. I got the
>> problem: all these 2 cannot be started.
>>
>> 1) For a Vista VM: qemu-dm.log says that "/usr/lib/xen/bin/qemu-dm:
>> invalid option -- '-vncviewer' "
>> I can confirm that I have no vncviewer option in my configuration. So
>> this is very confused.
>
> It seems that for some unknown reasons, xen run qemu-dm with option
> -vncviewer, and qemu-dm complains about that (then it failed to
> start).
>
> I notice that I dont have this problem with Linux HVM, but only with
> Vista HVM. Is there any reason why xen behaves differently on Vista
> and Linux HVM? (there is no difference between configurations)
>
The vncconsole option seems to be broken.
The following patch fixes the problem for me.
diff -r c3b5e36248c9 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Tue Feb 03 18:14:19 2009 +0000
+++ b/tools/python/xen/xend/image.py Wed Feb 04 12:04:07 2009 +0000
@@ -372,8 +372,6 @@
env['DISPLAY'] = self.display
if self.xauthority:
env['XAUTHORITY'] = self.xauthority
- if self.vncconsole:
- args = args + ([ "-vncviewer" ])
unique_id = "%i-%i" % (self.vm.getDomid(), time.time())
sentinel_path = sentinel_path_prefix + unique_id
sentinel_path_fifo = sentinel_path + '.fifo'
diff -r c3b5e36248c9 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Tue Feb 03 18:14:19 2009 +0000
+++ b/tools/python/xen/xm/create.py Wed Feb 04 12:04:07 2009 +0000
@@ -1337,7 +1337,7 @@
elif not opts.is_xml:
dom = make_domain(opts, config)
- if opts.vals.vncviewer:
+ if opts.vals.vncconsole:
domid = domain_name_to_domid(sxp.child_value(config, 'name', -1))
vncviewer_autopass = getattr(opts.vals,'vncviewer-autopass', False)
console.runVncViewer(domid, vncviewer_autopass, True)
next prev parent reply other threads:[~2009-02-04 12:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-04 3:35 2 errors with latest Xen Jun Koi
2009-02-04 5:58 ` Jun Koi
2009-02-04 12:10 ` Stefano Stabellini [this message]
2009-02-05 0:56 ` Jun Koi
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=4989859C.1020505@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=junkoi2004@gmail.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.