mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Kernel: Add hypervisor_vendor_id entry to /proc/cpuinfo
This commit is contained in:
parent
0f27432ec6
commit
33004f9b9d
1 changed files with 2 additions and 0 deletions
|
@ -584,6 +584,8 @@ private:
|
|||
TRY(obj.add("processor", proc.id()));
|
||||
TRY(obj.add("vendor_id", info.vendor_id_string()));
|
||||
TRY(obj.add("family", info.display_family()));
|
||||
if (!info.hypervisor_vendor_id_string().is_null())
|
||||
TRY(obj.add("hypervisor_vendor_id", info.hypervisor_vendor_id_string()));
|
||||
|
||||
auto features_array = TRY(obj.add_array("features"));
|
||||
auto keep_empty = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue