WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: FW: [Xen-devel] qemu-dm exit(1) for invalid option '-vncviewer' -- X

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: FW: [Xen-devel] qemu-dm exit(1) for invalid option '-vncviewer' -- Xen #18023
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 11 Jul 2008 11:39:13 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 11 Jul 2008 03:39:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C49CD85B.1AD86%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0E6B8CEB89DCFE40A52F80EB8F97D99D02B388E3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C49CD85B.1AD86%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Keir Fraser writes ("FW: [Xen-devel] qemu-dm exit(1) for invalid option 
'-vncviewer' -- Xen #18023"):
> Conversation: qemu-dm exit(1) for invalid option '-vncviewer' -- Xen #18023
> Subject: [Xen-devel] qemu-dm exit(1) for invalid option '-vncviewer' -- Xen
> #18023

This option works (worked) by passing the caller's display and
xauthority through xm and xend to qemu.  qemu then connects to it
later.  This is a very remarkable way of going about things.  Its
security properties are problematic from several points of view.

I had assumed that because it was so strange no-one would be using it,
so I deliberately dropped that change.  Evidently I was wrong.  If
this is a feature that is seriously used then I could reinstate it but
I think it should come with a health warning.

A better place to implement this would be xm or some higher level
tool, I think, but that wouldn't be sensible at this stage of the
release cycle.

> Looks xm/xend is still passing '-vncviewer' to qemu-dm, which causes
> qemu-dm exit(1), and HVM guest creation is failed.

For now, if you turn off the vncviewer option it will work.  If there
is demand I'll look into cross-porting this feature (on Monday,
probably).

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel