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: [Xen-users] I finally got Xen working on paravirtual as well

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] I finally got Xen working on paravirtual as well
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Sun, 13 Apr 2008 00:19:36 -0400
Delivery-date: Sat, 12 Apr 2008 21:20:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <16600838.post@xxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <16600838.post@xxxxxxxxxxxxxxx> (sfid-20080409_225312_555555_5B68E98B)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
On Wednesday April 09 2008 10:24:59 pm trist007 wrote:
> I found out that I couldn't get the network device to bridge because I was
> selecting virtual network instead of bridge network on the xen setup
> screen. Anyhow, it works great.  I noticed that my xen fedora version and
> my regular non xen fedora version run side by side.  For example, if I
> install something or make a change on one version it makes that change on
> the other version.  Is there any way to separate them?  Cause I want to
> install the nvidia driver on the non xen one and leave it blacklisted in
> the xen one.

I handle that by having two xorg.conf's that solely differ in 
the 'Driver "nv"' or 'Driver "nvidia"' statement. On Fedora, I would put that 
early in the boot sequence, probably in the udev scripts 
in /etc/sysconfig/modules. Name it so it ends in .modules, and it would look 
something like (untested):

if [ -f /proc/xen/capabilities ]; then
if `grep -q "control_d" /proc/xen/capabilities`; then
  cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
  exit 0; fi; fi
cp /etc/X11/xorg.conf.nvidia /etc/xorg.conf

Then you just have to watch for system updates that might change xorg.conf, 
and change your other two .conf files to match, except for the video driver.

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