diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-31 16:23:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-31 16:24:14 +0100 |
commit | 0fb533a53359cb8d034ec926638896b93f4fa839 (patch) | |
tree | 13932e77c86ac25873847f5fb4920a3e0c3bf1d4 /src/libsystemd-bus/sd-memfd.c | |
parent | c9197a76ae552991b99673d104019e0940d6ad84 (diff) |
virt: move caching of virtualization check results into detect_vm() and detect_container()
After all, we ended up calling detect_container() more often than
detect_virtualization(), hence the former one should cache the results,
since the latter is only a wrapper around the former.
Diffstat (limited to 'src/libsystemd-bus/sd-memfd.c')
0 files changed, 0 insertions, 0 deletions