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

Dan Horák dan at danny.cz
Fri Jul 18 05:35:37 PDT 2014


On Fri, 18 Jul 2014 13:42:21 +0200 (CEST)
Thomas Blume <Thomas.Blume at suse.com> wrote:

> On Tue, 8 Jul 2014, Lennart Poettering wrote:
> 
> >>
> >> 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...
> >
> 
> Ok, thanks for the input.
> Attached is the new patch.

Thomas, do you know whether the VM00 info always refer to the top-level
virt, where the Linux guest runs? I've already seen a 2nd level z/VM
setup, so there were VM00 and VM01 info, but don't remember how they
were ordered.


		Dan


More information about the systemd-devel mailing list