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

[Xen-devel] Shell test for pv vs hvm (vs dom0)

Is there an "officially sanctioned" method for a shell script to
test whether it is running on a native OS vs pv OS vs hvm OS
(and possibly also dom0 OS)?

I know there are lots of different ways to determine this but
am wondering if any one will work across all (recent and future)
implementations of Xen and across multiple (at least Linux-based)

If not, perhaps there could/should be a C/python tool in the Xen tree
that does this?

If Xen could save time in a bottle / then clocks wouldn't virtually skew /
It would save every tick / for VMs that aren't quick /
and Xen then would send them anew
(with apologies to the late great Jim Croce)
Xen-devel mailing list



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