|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] test for domU
Hi,
I've moved some domU instances to a 2.6.27 pv ops kernel. I use the
test below for various scripts to see if it is domU instance but it no
longer works as the /proc file as gone away. Does anyone know if there
is a similar test that can be run for this new setup?
if test -e /proc/xen/capabilities && ! grep -q "control_d"
/proc/xen/capabilities ; then
# domU
exit 0
fi
Thanks,
James
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] test for domU,
James Dingwall <=
|
|
|
|
|