[systemd-devel] [PATCH] systemd-detect-s390-virt: add virtualization detection on s390x
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Jul 8 10:59:50 PDT 2014
On Tue, Jul 08, 2014 at 02:53:22PM +0200, Thomas Blume wrote:
> -->--
> In other words, PR/SM transforms physical resources into virtual resources so
> that many logical partitions can share the same physical resources.
> --<--
>
> Still, from the OS point of view, the shared virtual resource is real hardware.
> So, I need to change the code and set ConditionVirtualization to false if the
> OS runs directly on PR/SM (e.g. in an LPAR).
>
> In this light, should we still use a common s390 _id string or would it make
> sense to keep the distinction between PR/SM and z/VM?
PR/SM is the hypervisor, so it should be detected as *not*
virtualized, which mean that it does not get any _id string. For the
virtualized systems on top, yes, it'd be nice to be able to
distinguish them, iff there are clear and unamigous distinction
between virtualization approaches. So detecting one as "kvm" and the
other as z/something things sounds fine.
Zbyszek
More information about the systemd-devel
mailing list