]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/gpt-auto-generator/gpt-auto-generator.c
basic: rework virtualization detection API 1190/head
authorLennart Poettering <lennart@poettering.net>
Mon, 7 Sep 2015 11:42:47 +0000 (13:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 7 Sep 2015 11:42:47 +0000 (13:42 +0200)
commit75f86906c52735c98dc0aa7e24b773edb42ee814
treed2d0701f8df51d5a09586073ebd387bb831743e7
parent47f5a38cdf98a220d6a0d4eb11a710a0a42ae5c4
basic: rework virtualization detection API

Introduce a proper enum, and don't pass around string ids anymore. This
simplifies things quite a bit, and makes virtualization detection more
similar to architecture detection.
29 files changed:
src/basic/util.c
src/basic/virt.c
src/basic/virt.h
src/core/dbus-manager.c
src/core/job.c
src/core/locale-setup.c
src/core/machine-id-setup.c
src/core/main.c
src/core/manager.c
src/core/mount-setup.c
src/core/shutdown.c
src/core/swap.c
src/core/umount.c
src/core/unit.c
src/detect-virt/detect-virt.c
src/fstab-generator/fstab-generator.c
src/getty-generator/getty-generator.c
src/gpt-auto-generator/gpt-auto-generator.c
src/hostname/hostnamed.c
src/libsystemd-network/dhcp-identifier.c
src/libsystemd-network/test-dhcp6-client.c
src/locale/localectl.c
src/network/networkd-link.c
src/network/networkd-manager.c
src/shared/condition.c
src/shared/efivars.c
src/test/test-architecture.c
src/test/test-process-util.c
src/vconsole/vconsole-setup.c