[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Two different versions of Xen on the same Dom0?



I'm trying to have two different versions of Xen on the same computer - the stable on provided by my Linux distribution and another one compiled by myself.

Three points were relatively easy:

* Start the alternate Xen kernel: Copy it to /boot/ (or even elsewhere) and make another entry in grub2 starting this kernel.

* Provider the alternate tools (xl etc.): Compile Xen with

./configure --prefix=/some/odd/dir --enable-rpath

enable-rpath is important for loading the appropriate (alternate) libraries, not the libraries from /usr/lib64

* startup script /etc/init.d/xencommons: Avoid Xen from started automatically at boot time and provide an alternate xencommons script which starts xenstored, qemu etc. from /some/odd/dir . I have to use the appropriate startup script according to the loaded hypervisor.

The problem I have now is that the complete Xen backend handling in th Dom0 is done by udev (hm, didn't know that before - so another lesson learned).

There is a Xen specific rules file on /etc/udev.d/rules, which calls scripts from /etc/xen/scripts (and they use the system provided xenstore-read etc.), and I have another alternate rules file from the alternate Xen version, which should call different scripts from /some/odd/dir/etc/xen/scripts .

How to choose between the two cases?

I think the udev rules are loaded very early at startup, but I am no expert on udev. How to change them at runtime?

Or, more generally, what's the best strategy to solve this problem?

--
Manfred HÃrtel, DB3HM    mailto:Manfred.Haertel@xxxxxxxxxxxx
                         http://rz-home.de/mhaertel

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.