* 2 errors with latest Xen
@ 2009-02-04 3:35 Jun Koi
2009-02-04 5:58 ` Jun Koi
0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2009-02-04 3:35 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
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.
2) For Ubuntu VM: qemu-dm.log says that "-append only allowed with
-kernel option"
I can confirm that there is nothing strange in my config, as the very
same works with 3.3.1
How can I fix these problems?
Thanks,
Jun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2 errors with latest Xen
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
0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2009-02-04 5:58 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
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)
Thanks,
Jun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: 2 errors with latest Xen
2009-02-04 5:58 ` Jun Koi
@ 2009-02-04 12:10 ` Stefano Stabellini
2009-02-05 0:56 ` Jun Koi
0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2009-02-04 12:10 UTC (permalink / raw)
To: Jun Koi; +Cc: xen-devel@lists.xensource.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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: 2 errors with latest Xen
2009-02-04 12:10 ` Stefano Stabellini
@ 2009-02-05 0:56 ` Jun Koi
0 siblings, 0 replies; 4+ messages in thread
From: Jun Koi @ 2009-02-05 0:56 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com
On Wed, Feb 4, 2009 at 9:10 PM, Stefano Stabellini
<stefano.stabellini@eu.citrix.com> wrote:
> 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.
vncconsole is really the culprit. Thanks for the fix!!
Jun
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-05 0:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-02-05 0:56 ` Jun Koi
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.