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-users

Re: Help needed running an X11 environment inside a DomU (Re: [Xen-users

To: James Dingwall <james.dingwall@xxxxxxxxxx>
Subject: Re: Help needed running an X11 environment inside a DomU (Re: [Xen-users]Creating a paravirtualized guest with Xen 3.4.1 and Centos 5.3 (64bit))
From: Martin Troester <TroyMcClure@xxxxxx>
Date: Fri, 25 Sep 2009 23:16:58 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Sep 2009 14:17:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <683099EDC3E36D40942EBF636EB88BF0071AFF38@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <832875840@xxxxxx><4AB9072E.9090106@xxxxxxxxxxxxx> <4AB930A0.1000703@xxxxxx> <64D0546C5EBBD147B75DE133D798665F03F3EAF6@xxxxxxxxxxxxxxxxx><4ABA8547.6060706@xxxxxx> <4ABBBCBF.3080207@xxxxxx> <683099EDC3E36D40942EBF636EB88BF0071AFF38@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
James,

thanks for that explanation. I have a DomU kernel with FB support, and I am now able to configure X to use the /dev/fb0 device for graphical output (although only 800*600 at the moment, but let's see how to get that configured properly).

James Dingwall wrote:
You need to have CONFIG_XEN_FRAMEBUFFER support in the domU kernel and
create a virtual framebuffer device in the domU config vfb = [
'type=vnc,vncunused=1' ] (see the example configuration files for other
parameters).  X then needs to use the fbdev driver.  In this example you
would connect to the graphical interface with a VNC client.
As stated above, that works - but it requires me to have a special Xorg.conf when using my DomU as a PV image, and another Xorg.conf for HVM use, as both use different HW devices.

Without this requirement, I could boot up the unmodified VM without further modifications from outside (when having a distro which comes with xvc0 being configured correctly in /etc/inittab and /etc/securetty), but without a modified Xorg conf, I will not be able to start X in the PV guest. So at some point a modification inside the VM has to happen to migrate a formerly HVM guest to PV.

Regards,
Martin


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

<Prev in Thread] Current Thread [Next in Thread>