Daniel P. Berrange wrote:
The current Xen capabilities XML data chooses between
/usr/lib/xen/bin/qemu-dm
and /usr/lib64/xen/bin/qemu-dm based on whether the guest arch is 64 bit.
This is incorrect because the path is actually determined based on the host
OS. Only x86_64 uses /usr/lib64, all other arches just use /usr/lib - even
on ia64. So this patch changes the logic so that /usr/lib64 is only used if
we see an x86_64 guest present - this implies host is x86_64 and that all
guests whether 32 or 64bit shoudl use /usr/lib64
Actually Debian uses /usr/lib too on all architectures (in fact I'm not
sure which other Linux systems use /usr/lib64 - it's very peculiar to
Red Hat).
However Debian symlinks /usr/lib64 -> /usr/lib, presumably for
compatibility with whoever thought using /usr/lib64 was a good idea in
the first place. Unix managed to transition from 16 to 32 bits without
adding '*32' everywhere, I'm not sure why this time is different ...
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903