summaryrefslogtreecommitdiff
path: root/src/detect-virt
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-04 10:29:40 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-04 11:28:56 +0200
commit0f534758d1d652824fb554e90bc2075218b9c884 (patch)
tree1cf981567cac27ccf6e0cd8438a1bbeeaa2adc72 /src/detect-virt
parentfbe043001581df609eae40e0d2f2319d52b5237a (diff)
downloadsystemd-0f534758d1d652824fb554e90bc2075218b9c884.tar.gz
virt: rework kvm with hyperv enlightenment checks a bit
Let's avoid extending the virtualization with an "alias" entry that has the same string assigned as another. The only reason this was done was to make the patch small that added a second CPUID vendor string for kvm to the vm_table[] array. Let's instead rework the array to use struct elements that match up strings with ids. Given the array was previously mostly sparse this should be a general improvement. Fixes: #22950 Follow-up for: #22945
Diffstat (limited to 'src/detect-virt')
0 files changed, 0 insertions, 0 deletions