GNOME Bugzilla – Bug 685531
info: show when running in a container / virtualized
Last modified: 2012-10-17 08:00:28 UTC
This might be nice information to show in the system info tab. Systemd just gained api to query this, see bug 684801 for the details, or see http://www.freedesktop.org/wiki/Software/systemd/dbus
Created attachment 226497 [details] [review] info: Detect and display Virtualisation method used Using systemd's "Virtualization" property on the systemd manager object. We translate the raw names (as detected by systemd-detect-virt) into (barely) human readable strings.
2 questions then: - do we need to translate the virtualisation technologies' names? Could you please review them for sanity? - does it work? My systemd is too old, and I don't have virtual machines setup (though I'll try and remedy that).
(In reply to comment #2) > 2 questions then: > - do we need to translate the virtualisation technologies' names? Could you > please review them for sanity? There's an error in the table: one "kvm" should be "qemu". Also note that there is the special value of "other" which means that virtualization was detected, but it's not known what kind of. > - does it work? My systemd is too old, and I don't have virtual machines setup > (though I'll try and remedy that). It looks alright. I'll upload a new version to F18 tomorrow (I hope at least).
Created attachment 226523 [details] [review] info: Detect and display Virtualisation method used Using systemd's "Virtualization" property on the systemd manager object. We translate the raw names (as detected by systemd-detect-virt) into (barely) human readable strings.
commit aecd7c860ded37e14ec27e7dda3122cb6782df00 Author: Bastien Nocera <hadess@hadess.net> Date: Mon Oct 15 19:36:50 2012 +0200 info: Detect and display Virtualisation method used Using systemd's "Virtualization" property on the systemd manager object. We translate the raw names (as detected by systemd-detect-virt) into (barely) human readable strings. https://bugzilla.gnome.org/show_bug.cgi?id=685531