mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 13:00:29 +00:00
lscpu: Show hypervisor_vendor_id if present
This commit is contained in:
parent
33004f9b9d
commit
4f35c206e4
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/4f35c206e4 Pull-request: https://github.com/SerenityOS/serenity/pull/13482 Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ static void print_cpu_info(JsonObject const& value)
|
|||
{
|
||||
outln("CPU {}:", value.get("processor").as_u32());
|
||||
outln("\tVendor ID: {}", value.get("vendor_id").as_string());
|
||||
if (value.has("hypervisor_vendor_id"))
|
||||
outln("\tHypervisor Vendor ID: {}", value.get("hypervisor_vendor_id").as_string());
|
||||
outln("\tBrand: {}", value.get("brand").as_string());
|
||||
outln("\tFamily: {}", value.get("family").as_u32());
|
||||
outln("\tModel: {}", value.get("model").as_u32());
|
||||
|
|
Loading…
Reference in a new issue