[systemd-devel] [PATCH] systemd-detect-s390-virt: add virtualization detection on s390x

Lennart Poettering lennart at poettering.net
Tue Jul 8 11:30:36 PDT 2014


On Tue, 08.07.14 19:59, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> 
> 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.

I agree. Except for one thing: I'd prefer if we could keep the
identifiers free of special chars. Hence "zsomethhing" rather than
"z/something", please...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list