Kieran's opinionated (and probably slightly dumb) nix config
1{
2 "version": 1,
3 "system": "x86_64-linux",
4 "virtualisation": "kvm",
5 "hardware": {
6 "bios": {
7 "apm_info": {
8 "supported": false,
9 "enabled": false,
10 "version": 0,
11 "sub_version": 0,
12 "bios_flags": 0
13 },
14 "vbe_info": {
15 "version": 0,
16 "video_memory": 0
17 },
18 "pnp": false,
19 "pnp_id": 0,
20 "lba_support": false,
21 "low_memory_size": 0,
22 "smbios_version": 520
23 },
24 "bridge": [
25 {
26 "index": 7,
27 "attached_to": 0,
28 "class_list": [
29 "pci",
30 "bridge"
31 ],
32 "bus_type": {
33 "hex": "0004",
34 "name": "PCI",
35 "value": 4
36 },
37 "slot": {
38 "bus": 0,
39 "number": 1
40 },
41 "base_class": {
42 "hex": "0006",
43 "name": "Bridge",
44 "value": 6
45 },
46 "sub_class": {
47 "hex": "0001",
48 "name": "ISA bridge",
49 "value": 1
50 },
51 "vendor": {
52 "hex": "8086",
53 "name": "Intel Corporation",
54 "value": 32902
55 },
56 "sub_vendor": {
57 "hex": "1af4",
58 "value": 6900
59 },
60 "device": {
61 "hex": "7000",
62 "value": 28672
63 },
64 "sub_device": {
65 "hex": "1100",
66 "value": 4352
67 },
68 "model": "Intel ISA bridge",
69 "sysfs_id": "/devices/pci0000:00/0000:00:01.0",
70 "sysfs_bus_id": "0000:00:01.0",
71 "detail": {
72 "function": 0,
73 "command": 3,
74 "header_type": 0,
75 "secondary_bus": 0,
76 "irq": 0,
77 "prog_if": 0
78 },
79 "module_alias": "pci:v00008086d00007000sv00001AF4sd00001100bc06sc01i00"
80 },
81 {
82 "index": 9,
83 "attached_to": 0,
84 "class_list": [
85 "pci",
86 "bridge"
87 ],
88 "bus_type": {
89 "hex": "0004",
90 "name": "PCI",
91 "value": 4
92 },
93 "slot": {
94 "bus": 0,
95 "number": 0
96 },
97 "base_class": {
98 "hex": "0006",
99 "name": "Bridge",
100 "value": 6
101 },
102 "sub_class": {
103 "hex": "0000",
104 "name": "Host bridge",
105 "value": 0
106 },
107 "vendor": {
108 "hex": "8086",
109 "name": "Intel Corporation",
110 "value": 32902
111 },
112 "sub_vendor": {
113 "hex": "1af4",
114 "value": 6900
115 },
116 "device": {
117 "hex": "1237",
118 "value": 4663
119 },
120 "sub_device": {
121 "hex": "1100",
122 "value": 4352
123 },
124 "revision": {
125 "hex": "0002",
126 "value": 2
127 },
128 "model": "Intel Host bridge",
129 "sysfs_id": "/devices/pci0000:00/0000:00:00.0",
130 "sysfs_bus_id": "0000:00:00.0",
131 "detail": {
132 "function": 0,
133 "command": 3,
134 "header_type": 0,
135 "secondary_bus": 0,
136 "irq": 0,
137 "prog_if": 0
138 },
139 "module_alias": "pci:v00008086d00001237sv00001AF4sd00001100bc06sc00i00"
140 },
141 {
142 "index": 10,
143 "attached_to": 0,
144 "class_list": [
145 "pci",
146 "bridge"
147 ],
148 "bus_type": {
149 "hex": "0004",
150 "name": "PCI",
151 "value": 4
152 },
153 "slot": {
154 "bus": 0,
155 "number": 1
156 },
157 "base_class": {
158 "hex": "0006",
159 "name": "Bridge",
160 "value": 6
161 },
162 "sub_class": {
163 "hex": "0080",
164 "name": "Bridge",
165 "value": 128
166 },
167 "vendor": {
168 "hex": "8086",
169 "name": "Intel Corporation",
170 "value": 32902
171 },
172 "sub_vendor": {
173 "hex": "1af4",
174 "value": 6900
175 },
176 "device": {
177 "hex": "7113",
178 "value": 28947
179 },
180 "sub_device": {
181 "hex": "1100",
182 "value": 4352
183 },
184 "revision": {
185 "hex": "0003",
186 "value": 3
187 },
188 "model": "Intel Bridge",
189 "sysfs_id": "/devices/pci0000:00/0000:00:01.3",
190 "sysfs_bus_id": "0000:00:01.3",
191 "resources": [
192 {
193 "type": "irq",
194 "base": 9,
195 "triggered": 0,
196 "enabled": true
197 }
198 ],
199 "detail": {
200 "function": 3,
201 "command": 3,
202 "header_type": 0,
203 "secondary_bus": 0,
204 "irq": 9,
205 "prog_if": 0
206 },
207 "driver": "piix4_smbus",
208 "driver_module": "i2c_piix4",
209 "drivers": [
210 "piix4_smbus"
211 ],
212 "driver_modules": [
213 "i2c_piix4"
214 ],
215 "module_alias": "pci:v00008086d00007113sv00001AF4sd00001100bc06sc80i00"
216 }
217 ],
218 "cpu": [
219 {
220 "architecture": "x86_64",
221 "vendor_name": "AuthenticAMD",
222 "family": 23,
223 "model": 1,
224 "stepping": 2,
225 "features": [
226 "fpu",
227 "vme",
228 "de",
229 "pse",
230 "tsc",
231 "msr",
232 "pae",
233 "mce",
234 "cx8",
235 "apic",
236 "sep",
237 "mtrr",
238 "pge",
239 "mca",
240 "cmov",
241 "pat",
242 "pse36",
243 "clflush",
244 "mmx",
245 "fxsr",
246 "sse",
247 "sse2",
248 "ht",
249 "syscall",
250 "nx",
251 "mmxext",
252 "fxsr_opt",
253 "pdpe1gb",
254 "rdtscp",
255 "lm",
256 "rep_good",
257 "nopl",
258 "xtopology",
259 "cpuid",
260 "extd_apicid",
261 "tsc_known_freq",
262 "pni",
263 "pclmulqdq",
264 "ssse3",
265 "fma",
266 "cx16",
267 "sse4_1",
268 "sse4_2",
269 "x2apic",
270 "movbe",
271 "popcnt",
272 "tsc_deadline_timer",
273 "aes",
274 "xsave",
275 "avx",
276 "f16c",
277 "rdrand",
278 "hypervisor",
279 "lahf_lm",
280 "cmp_legacy",
281 "svm",
282 "cr8_legacy",
283 "abm",
284 "sse4a",
285 "misalignsse",
286 "3dnowprefetch",
287 "osvw",
288 "topoext",
289 "perfctr_core",
290 "ssbd",
291 "ibpb",
292 "vmmcall",
293 "fsgsbase",
294 "tsc_adjust",
295 "bmi1",
296 "avx2",
297 "smep",
298 "bmi2",
299 "rdseed",
300 "adx",
301 "smap",
302 "clflushopt",
303 "sha_ni",
304 "xsaveopt",
305 "xsavec",
306 "xgetbv1",
307 "clzero",
308 "xsaveerptr",
309 "virt_ssbd",
310 "arat",
311 "npt",
312 "nrip_save",
313 "vgif",
314 "overflow_recov",
315 "succor",
316 "arch_capabilities"
317 ],
318 "bugs": [
319 "sysret_ss_attrs",
320 "null_seg",
321 "spectre_v1",
322 "spectre_v2",
323 "spec_store_bypass",
324 "retbleed",
325 "smt_rsb",
326 "srso",
327 "div0",
328 "ibpb_no_ret"
329 ],
330 "bogo": 3992.5,
331 "cache": 512,
332 "units": 2,
333 "physical_id": 0,
334 "siblings": 2,
335 "cores": 1,
336 "fpu": true,
337 "fpu_exception": true,
338 "cpuid_level": 13,
339 "write_protect": false,
340 "tlb_size": 1024,
341 "clflush_size": 64,
342 "cache_alignment": 64,
343 "address_sizes": {
344 "physical": "0x28",
345 "virtual": "0x30"
346 }
347 }
348 ],
349 "disk": [
350 {
351 "index": 18,
352 "attached_to": 14,
353 "class_list": [
354 "disk",
355 "scsi",
356 "block_device"
357 ],
358 "bus_type": {
359 "hex": "0084",
360 "name": "SCSI",
361 "value": 132
362 },
363 "slot": {
364 "bus": 0,
365 "number": 0
366 },
367 "base_class": {
368 "hex": "0106",
369 "name": "Mass Storage Device",
370 "value": 262
371 },
372 "sub_class": {
373 "hex": "0000",
374 "name": "Disk",
375 "value": 0
376 },
377 "vendor": {
378 "hex": "0000",
379 "name": "ORACLE",
380 "value": 0
381 },
382 "device": {
383 "hex": "0000",
384 "name": "BlockVolume",
385 "value": 0
386 },
387 "revision": {
388 "hex": "0000",
389 "name": "1.0",
390 "value": 0
391 },
392 "model": "ORACLE BlockVolume",
393 "sysfs_id": "/class/block/sda",
394 "sysfs_bus_id": "0:0:0:1",
395 "sysfs_device_link": "/devices/pci0000:00/0000:00:04.0/virtio1/host0/target0:0:0/0:0:0:1",
396 "unix_device_name": "/dev/sda",
397 "unix_device_number": {
398 "type": 98,
399 "major": 8,
400 "minor": 0,
401 "range": 16
402 },
403 "unix_device_names": [
404 "/dev/disk/by-id/scsi-36031c628421d4d309553ce9700b81f0d",
405 "/dev/disk/by-id/wwn-0x6031c628421d4d309553ce9700b81f0d",
406 "/dev/disk/by-path/pci-0000:00:04.0-scsi-0:0:0:1",
407 "/dev/sda"
408 ],
409 "unix_device_name2": "/dev/sg0",
410 "unix_device_number2": {
411 "type": 99,
412 "major": 21,
413 "minor": 0,
414 "range": 1
415 },
416 "rom_id": "0x80",
417 "resources": [
418 {
419 "type": "disk_geo",
420 "cylinders": 47694,
421 "heads": 64,
422 "sectors": 32,
423 "size": "0x0",
424 "geo_type": "logical"
425 },
426 {
427 "type": "size",
428 "unit": "sectors",
429 "value_1": 97677312,
430 "value_2": 512
431 }
432 ],
433 "driver": "virtio_scsi",
434 "driver_module": "virtio_scsi",
435 "drivers": [
436 "sd",
437 "virtio_scsi"
438 ],
439 "driver_modules": [
440 "sd_mod",
441 "virtio_scsi"
442 ]
443 }
444 ],
445 "graphics_card": [
446 {
447 "index": 13,
448 "attached_to": 0,
449 "class_list": [
450 "graphics_card",
451 "pci"
452 ],
453 "bus_type": {
454 "hex": "0004",
455 "name": "PCI",
456 "value": 4
457 },
458 "slot": {
459 "bus": 0,
460 "number": 2
461 },
462 "base_class": {
463 "hex": "0003",
464 "name": "Display controller",
465 "value": 3
466 },
467 "sub_class": {
468 "hex": "0000",
469 "name": "VGA compatible controller",
470 "value": 0
471 },
472 "pci_interface": {
473 "hex": "0000",
474 "name": "VGA",
475 "value": 0
476 },
477 "vendor": {
478 "hex": "1234",
479 "value": 4660
480 },
481 "sub_vendor": {
482 "hex": "1af4",
483 "value": 6900
484 },
485 "device": {
486 "hex": "1111",
487 "value": 4369
488 },
489 "sub_device": {
490 "hex": "1100",
491 "value": 4352
492 },
493 "revision": {
494 "hex": "0002",
495 "value": 2
496 },
497 "model": "VGA compatible controller",
498 "sysfs_id": "/devices/pci0000:00/0000:00:02.0",
499 "sysfs_bus_id": "0000:00:02.0",
500 "resources": [
501 {
502 "type": "mem",
503 "base": 2147483648,
504 "range": 16777216,
505 "enabled": true,
506 "access": "read_only",
507 "prefetch": "no"
508 },
509 {
510 "type": "mem",
511 "base": 2164334592,
512 "range": 4096,
513 "enabled": true,
514 "access": "read_write",
515 "prefetch": "no"
516 },
517 {
518 "type": "mem",
519 "base": 786432,
520 "range": 131072,
521 "enabled": false,
522 "access": "read_write",
523 "prefetch": "no"
524 }
525 ],
526 "detail": {
527 "function": 0,
528 "command": 3,
529 "header_type": 0,
530 "secondary_bus": 0,
531 "irq": 0,
532 "prog_if": 0
533 },
534 "driver": "bochs-drm",
535 "driver_module": "bochs",
536 "drivers": [
537 "bochs-drm"
538 ],
539 "driver_modules": [
540 "bochs"
541 ],
542 "module_alias": "pci:v00001234d00001111sv00001AF4sd00001100bc03sc00i00"
543 }
544 ],
545 "hub": [
546 {
547 "index": 19,
548 "attached_to": 6,
549 "class_list": [
550 "usb",
551 "hub"
552 ],
553 "bus_type": {
554 "hex": "0086",
555 "name": "USB",
556 "value": 134
557 },
558 "slot": {
559 "bus": 0,
560 "number": 0
561 },
562 "base_class": {
563 "hex": "010a",
564 "name": "Hub",
565 "value": 266
566 },
567 "vendor": {
568 "hex": "1d6b",
569 "name": "Linux 6.14.10 uhci_hcd",
570 "value": 7531
571 },
572 "device": {
573 "hex": "0001",
574 "name": "UHCI Host Controller",
575 "value": 1
576 },
577 "revision": {
578 "hex": "0000",
579 "name": "6.14",
580 "value": 0
581 },
582 "serial": "0000:00:01.2",
583 "model": "Linux 6.14.10 uhci_hcd UHCI Host Controller",
584 "sysfs_id": "/devices/pci0000:00/0000:00:01.2/usb1/1-0:1.0",
585 "sysfs_bus_id": "1-0:1.0",
586 "resources": [
587 {
588 "type": "baud",
589 "speed": 12000000,
590 "bits": 0,
591 "stop_bits": 0,
592 "parity": 0,
593 "handshake": 0
594 }
595 ],
596 "detail": {
597 "device_class": {
598 "hex": "0009",
599 "name": "hub",
600 "value": 9
601 },
602 "device_subclass": {
603 "hex": "0000",
604 "name": "per_interface",
605 "value": 0
606 },
607 "device_protocol": 0,
608 "interface_class": {
609 "hex": "0009",
610 "name": "hub",
611 "value": 9
612 },
613 "interface_subclass": {
614 "hex": "0000",
615 "name": "per_interface",
616 "value": 0
617 },
618 "interface_protocol": 0,
619 "interface_number": 0,
620 "interface_alternate_setting": 0
621 },
622 "hotplug": "usb",
623 "driver": "hub",
624 "driver_module": "usbcore",
625 "drivers": [
626 "hub"
627 ],
628 "driver_modules": [
629 "usbcore"
630 ],
631 "module_alias": "usb:v1D6Bp0001d0614dc09dsc00dp00ic09isc00ip00in00"
632 }
633 ],
634 "memory": [
635 {
636 "index": 5,
637 "attached_to": 0,
638 "class_list": [
639 "memory"
640 ],
641 "base_class": {
642 "hex": "0101",
643 "name": "Internally Used Class",
644 "value": 257
645 },
646 "sub_class": {
647 "hex": "0002",
648 "name": "Main Memory",
649 "value": 2
650 },
651 "model": "Main Memory",
652 "resources": [
653 {
654 "type": "mem",
655 "base": 0,
656 "range": 1004576768,
657 "enabled": true,
658 "access": "read_write",
659 "prefetch": "unknown"
660 },
661 {
662 "type": "phys_mem",
663 "range": 1006632960
664 }
665 ]
666 }
667 ],
668 "monitor": [
669 {
670 "index": 16,
671 "attached_to": 13,
672 "class_list": [
673 "monitor"
674 ],
675 "base_class": {
676 "hex": "0100",
677 "name": "Monitor",
678 "value": 256
679 },
680 "sub_class": {
681 "hex": "0002",
682 "name": "LCD Monitor",
683 "value": 2
684 },
685 "vendor": {
686 "hex": "4914",
687 "value": 18708
688 },
689 "device": {
690 "hex": "1234",
691 "name": "QEMU Monitor",
692 "value": 4660
693 },
694 "serial": "0",
695 "model": "QEMU Monitor",
696 "resources": [
697 {
698 "type": "monitor",
699 "width": 1024,
700 "height": 768,
701 "vertical_frequency": 60,
702 "interlaced": false
703 },
704 {
705 "type": "monitor",
706 "width": 1280,
707 "height": 800,
708 "vertical_frequency": 60,
709 "interlaced": false
710 },
711 {
712 "type": "monitor",
713 "width": 1600,
714 "height": 1200,
715 "vertical_frequency": 60,
716 "interlaced": false
717 },
718 {
719 "type": "monitor",
720 "width": 1920,
721 "height": 1080,
722 "vertical_frequency": 60,
723 "interlaced": false
724 },
725 {
726 "type": "monitor",
727 "width": 2048,
728 "height": 1152,
729 "vertical_frequency": 60,
730 "interlaced": false
731 },
732 {
733 "type": "monitor",
734 "width": 640,
735 "height": 480,
736 "vertical_frequency": 60,
737 "interlaced": false
738 },
739 {
740 "type": "monitor",
741 "width": 800,
742 "height": 600,
743 "vertical_frequency": 60,
744 "interlaced": false
745 },
746 {
747 "type": "size",
748 "unit": "mm",
749 "value_1": 325,
750 "value_2": 203
751 }
752 ],
753 "detail": {
754 "manufacture_year": 2014,
755 "manufacture_week": 42,
756 "vertical_sync": {
757 "min": 50,
758 "max": 125
759 },
760 "horizontal_sync": {
761 "min": 30,
762 "max": 160
763 },
764 "horizontal_sync_timings": {
765 "disp": 1280,
766 "sync_start": 1600,
767 "sync_end": 1638,
768 "total": 1728
769 },
770 "vertical_sync_timings": {
771 "disp": 800,
772 "sync_start": 804,
773 "sync_end": 808,
774 "total": 828
775 },
776 "clock": 107300,
777 "width": 1280,
778 "height": 800,
779 "width_millimetres": 325,
780 "height_millimetres": 203,
781 "horizontal_flag": 45,
782 "vertical_flag": 45,
783 "vendor": "",
784 "name": "QEMU Monitor"
785 },
786 "driver_info": {
787 "type": "display",
788 "width": 2048,
789 "height": 1152,
790 "vertical_sync": {
791 "min": 50,
792 "max": 125
793 },
794 "horizontal_sync": {
795 "min": 30,
796 "max": 160
797 },
798 "bandwidth": 0,
799 "horizontal_sync_timings": {
800 "disp": 1280,
801 "sync_start": 1600,
802 "sync_end": 1638,
803 "total": 1728
804 },
805 "vertical_sync_timings": {
806 "disp": 800,
807 "sync_start": 804,
808 "sync_end": 808,
809 "total": 828
810 },
811 "horizontal_flag": 45,
812 "vertical_flag": 45
813 }
814 }
815 ],
816 "mouse": [
817 {
818 "index": 20,
819 "attached_to": 19,
820 "class_list": [
821 "mouse",
822 "usb"
823 ],
824 "bus_type": {
825 "hex": "0086",
826 "name": "USB",
827 "value": 134
828 },
829 "slot": {
830 "bus": 0,
831 "number": 0
832 },
833 "base_class": {
834 "hex": "0105",
835 "name": "Mouse",
836 "value": 261
837 },
838 "sub_class": {
839 "hex": "0003",
840 "name": "USB Mouse",
841 "value": 3
842 },
843 "vendor": {
844 "hex": "0627",
845 "name": "QEMU",
846 "value": 1575
847 },
848 "device": {
849 "hex": "0001",
850 "name": "QEMU USB Tablet",
851 "value": 1
852 },
853 "serial": "28754-0000:00:01.2-1",
854 "compat_vendor": "Unknown",
855 "compat_device": "Generic USB Mouse",
856 "model": "QEMU USB Tablet",
857 "sysfs_id": "/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0",
858 "sysfs_bus_id": "1-1:1.0",
859 "unix_device_name": "/dev/input/mice",
860 "unix_device_number": {
861 "type": 99,
862 "major": 13,
863 "minor": 63,
864 "range": 1
865 },
866 "unix_device_names": [
867 "/dev/input/mice"
868 ],
869 "unix_device_name2": "/dev/input/mouse0",
870 "unix_device_number2": {
871 "type": 99,
872 "major": 13,
873 "minor": 32,
874 "range": 1
875 },
876 "resources": [
877 {
878 "type": "baud",
879 "speed": 12000000,
880 "bits": 0,
881 "stop_bits": 0,
882 "parity": 0,
883 "handshake": 0
884 }
885 ],
886 "detail": {
887 "device_class": {
888 "hex": "0000",
889 "name": "per_interface",
890 "value": 0
891 },
892 "device_subclass": {
893 "hex": "0000",
894 "name": "per_interface",
895 "value": 0
896 },
897 "device_protocol": 0,
898 "interface_class": {
899 "hex": "0003",
900 "name": "hid",
901 "value": 3
902 },
903 "interface_subclass": {
904 "hex": "0000",
905 "name": "per_interface",
906 "value": 0
907 },
908 "interface_protocol": 0,
909 "interface_number": 0,
910 "interface_alternate_setting": 0
911 },
912 "hotplug": "usb",
913 "driver": "usbhid",
914 "driver_module": "usbhid",
915 "drivers": [
916 "usbhid"
917 ],
918 "driver_modules": [
919 "usbhid"
920 ],
921 "driver_info": {
922 "type": "mouse",
923 "db_entry_0": [
924 "explorerps/2",
925 "exps2"
926 ],
927 "xf86": "explorerps/2",
928 "gpm": "exps2",
929 "buttons": -1,
930 "wheels": -1
931 },
932 "module_alias": "usb:v0627p0001d0000dc00dsc00dp00ic03isc00ip00in00"
933 }
934 ],
935 "network_controller": [
936 {
937 "index": 15,
938 "attached_to": 11,
939 "class_list": [
940 "network_controller"
941 ],
942 "bus_type": {
943 "hex": "008f",
944 "name": "Virtio",
945 "value": 143
946 },
947 "slot": {
948 "bus": 0,
949 "number": 0
950 },
951 "base_class": {
952 "hex": "0002",
953 "name": "Network controller",
954 "value": 2
955 },
956 "sub_class": {
957 "hex": "0000",
958 "name": "Ethernet controller",
959 "value": 0
960 },
961 "vendor": "Virtio",
962 "device": "Ethernet Card 0",
963 "model": "Virtio Ethernet Card 0",
964 "sysfs_id": "/devices/pci0000:00/0000:00:03.0/virtio0",
965 "sysfs_bus_id": "virtio0",
966 "unix_device_name": "ens3",
967 "unix_device_names": [
968 "ens3"
969 ],
970 "resources": [
971 {
972 "type": "hwaddr",
973 "address": 48
974 },
975 {
976 "type": "phwaddr",
977 "address": 48
978 }
979 ],
980 "driver": "virtio_net",
981 "driver_module": "virtio_net",
982 "drivers": [
983 "virtio_net"
984 ],
985 "driver_modules": [
986 "virtio_net"
987 ],
988 "module_alias": "virtio:d00000001v0000108E"
989 }
990 ],
991 "network_interface": [
992 {
993 "index": 21,
994 "attached_to": 0,
995 "class_list": [
996 "network_interface"
997 ],
998 "base_class": {
999 "hex": "0107",
1000 "name": "Network Interface",
1001 "value": 263
1002 },
1003 "sub_class": {
1004 "hex": "0000",
1005 "name": "Loopback",
1006 "value": 0
1007 },
1008 "model": "Loopback network interface",
1009 "sysfs_id": "/class/net/lo",
1010 "unix_device_name": "lo",
1011 "unix_device_names": [
1012 "lo"
1013 ]
1014 },
1015 {
1016 "index": 22,
1017 "attached_to": 15,
1018 "class_list": [
1019 "network_interface"
1020 ],
1021 "base_class": {
1022 "hex": "0107",
1023 "name": "Network Interface",
1024 "value": 263
1025 },
1026 "sub_class": {
1027 "hex": "0001",
1028 "name": "Ethernet",
1029 "value": 1
1030 },
1031 "model": "Ethernet network interface",
1032 "sysfs_id": "/class/net/ens3",
1033 "sysfs_device_link": "/devices/pci0000:00/0000:00:03.0/virtio0",
1034 "unix_device_name": "ens3",
1035 "unix_device_names": [
1036 "ens3"
1037 ],
1038 "resources": [
1039 {
1040 "type": "hwaddr",
1041 "address": 48
1042 },
1043 {
1044 "type": "phwaddr",
1045 "address": 48
1046 }
1047 ],
1048 "driver": "virtio_net",
1049 "driver_module": "virtio_net",
1050 "drivers": [
1051 "virtio_net"
1052 ],
1053 "driver_modules": [
1054 "virtio_net"
1055 ]
1056 }
1057 ],
1058 "pci": [
1059 {
1060 "index": 11,
1061 "attached_to": 0,
1062 "class_list": [
1063 "pci",
1064 "unknown"
1065 ],
1066 "bus_type": {
1067 "hex": "0004",
1068 "name": "PCI",
1069 "value": 4
1070 },
1071 "slot": {
1072 "bus": 0,
1073 "number": 3
1074 },
1075 "base_class": {
1076 "hex": "0002",
1077 "name": "Network controller",
1078 "value": 2
1079 },
1080 "sub_class": {
1081 "hex": "0000",
1082 "name": "Ethernet controller",
1083 "value": 0
1084 },
1085 "vendor": {
1086 "hex": "1af4",
1087 "value": 6900
1088 },
1089 "sub_vendor": {
1090 "hex": "108e",
1091 "value": 4238
1092 },
1093 "device": {
1094 "hex": "1000",
1095 "value": 4096
1096 },
1097 "sub_device": {
1098 "hex": "0001",
1099 "value": 1
1100 },
1101 "model": "Ethernet controller",
1102 "sysfs_id": "/devices/pci0000:00/0000:00:03.0",
1103 "sysfs_bus_id": "0000:00:03.0",
1104 "resources": [
1105 {
1106 "type": "io",
1107 "base": 49216,
1108 "range": 32,
1109 "enabled": true,
1110 "access": "read_write"
1111 },
1112 {
1113 "type": "irq",
1114 "base": 10,
1115 "triggered": 0,
1116 "enabled": true
1117 },
1118 {
1119 "type": "mem",
1120 "base": 2164330496,
1121 "range": 4096,
1122 "enabled": true,
1123 "access": "read_write",
1124 "prefetch": "no"
1125 },
1126 {
1127 "type": "mem",
1128 "base": 34359738368,
1129 "range": 16384,
1130 "enabled": true,
1131 "access": "read_only",
1132 "prefetch": "no"
1133 }
1134 ],
1135 "detail": {
1136 "function": 0,
1137 "command": 1031,
1138 "header_type": 0,
1139 "secondary_bus": 0,
1140 "irq": 10,
1141 "prog_if": 0
1142 },
1143 "driver": "virtio-pci",
1144 "driver_module": "virtio_pci",
1145 "drivers": [
1146 "virtio-pci"
1147 ],
1148 "driver_modules": [
1149 "virtio_pci"
1150 ],
1151 "module_alias": "pci:v00001AF4d00001000sv0000108Esd00000001bc02sc00i00"
1152 }
1153 ],
1154 "storage_controller": [
1155 {
1156 "index": 8,
1157 "attached_to": 0,
1158 "class_list": [
1159 "storage_controller",
1160 "pci"
1161 ],
1162 "bus_type": {
1163 "hex": "0004",
1164 "name": "PCI",
1165 "value": 4
1166 },
1167 "slot": {
1168 "bus": 0,
1169 "number": 4
1170 },
1171 "base_class": {
1172 "hex": "0001",
1173 "name": "Mass storage controller",
1174 "value": 1
1175 },
1176 "sub_class": {
1177 "hex": "0000",
1178 "name": "SCSI storage controller",
1179 "value": 0
1180 },
1181 "vendor": {
1182 "hex": "1af4",
1183 "value": 6900
1184 },
1185 "sub_vendor": {
1186 "hex": "108e",
1187 "value": 4238
1188 },
1189 "device": {
1190 "hex": "1004",
1191 "value": 4100
1192 },
1193 "sub_device": {
1194 "hex": "0008",
1195 "value": 8
1196 },
1197 "model": "SCSI storage controller",
1198 "sysfs_id": "/devices/pci0000:00/0000:00:04.0",
1199 "sysfs_bus_id": "0000:00:04.0",
1200 "resources": [
1201 {
1202 "type": "io",
1203 "base": 49152,
1204 "range": 64,
1205 "enabled": true,
1206 "access": "read_write"
1207 },
1208 {
1209 "type": "irq",
1210 "base": 11,
1211 "triggered": 0,
1212 "enabled": true
1213 },
1214 {
1215 "type": "mem",
1216 "base": 2164326400,
1217 "range": 4096,
1218 "enabled": true,
1219 "access": "read_write",
1220 "prefetch": "no"
1221 },
1222 {
1223 "type": "mem",
1224 "base": 34359754752,
1225 "range": 16384,
1226 "enabled": true,
1227 "access": "read_only",
1228 "prefetch": "no"
1229 }
1230 ],
1231 "detail": {
1232 "function": 0,
1233 "command": 1031,
1234 "header_type": 0,
1235 "secondary_bus": 0,
1236 "irq": 11,
1237 "prog_if": 0
1238 },
1239 "driver": "virtio-pci",
1240 "driver_module": "virtio_pci",
1241 "drivers": [
1242 "virtio-pci"
1243 ],
1244 "driver_modules": [
1245 "virtio_pci"
1246 ],
1247 "module_alias": "pci:v00001AF4d00001004sv0000108Esd00000008bc01sc00i00"
1248 },
1249 {
1250 "index": 12,
1251 "attached_to": 0,
1252 "class_list": [
1253 "storage_controller",
1254 "pci"
1255 ],
1256 "bus_type": {
1257 "hex": "0004",
1258 "name": "PCI",
1259 "value": 4
1260 },
1261 "slot": {
1262 "bus": 0,
1263 "number": 1
1264 },
1265 "base_class": {
1266 "hex": "0001",
1267 "name": "Mass storage controller",
1268 "value": 1
1269 },
1270 "sub_class": {
1271 "hex": "0001",
1272 "name": "IDE interface",
1273 "value": 1
1274 },
1275 "pci_interface": {
1276 "hex": "0080",
1277 "value": 128
1278 },
1279 "vendor": {
1280 "hex": "8086",
1281 "name": "Intel Corporation",
1282 "value": 32902
1283 },
1284 "sub_vendor": {
1285 "hex": "1af4",
1286 "value": 6900
1287 },
1288 "device": {
1289 "hex": "7010",
1290 "value": 28688
1291 },
1292 "sub_device": {
1293 "hex": "1100",
1294 "value": 4352
1295 },
1296 "model": "Intel IDE interface",
1297 "sysfs_id": "/devices/pci0000:00/0000:00:01.1",
1298 "sysfs_bus_id": "0000:00:01.1",
1299 "resources": [
1300 {
1301 "type": "io",
1302 "base": 1014,
1303 "range": 1,
1304 "enabled": true,
1305 "access": "read_write"
1306 },
1307 {
1308 "type": "io",
1309 "base": 368,
1310 "range": 8,
1311 "enabled": true,
1312 "access": "read_write"
1313 },
1314 {
1315 "type": "io",
1316 "base": 49280,
1317 "range": 16,
1318 "enabled": true,
1319 "access": "read_write"
1320 },
1321 {
1322 "type": "io",
1323 "base": 496,
1324 "range": 8,
1325 "enabled": true,
1326 "access": "read_write"
1327 },
1328 {
1329 "type": "io",
1330 "base": 886,
1331 "range": 1,
1332 "enabled": true,
1333 "access": "read_write"
1334 }
1335 ],
1336 "detail": {
1337 "function": 1,
1338 "command": 7,
1339 "header_type": 0,
1340 "secondary_bus": 0,
1341 "irq": 0,
1342 "prog_if": 128
1343 },
1344 "driver": "ata_piix",
1345 "driver_module": "ata_piix",
1346 "drivers": [
1347 "ata_piix"
1348 ],
1349 "driver_modules": [
1350 "ata_piix"
1351 ],
1352 "module_alias": "pci:v00008086d00007010sv00001AF4sd00001100bc01sc01i80"
1353 }
1354 ],
1355 "system": {
1356 "form_factor": "desktop"
1357 },
1358 "unknown": [
1359 {
1360 "index": 14,
1361 "attached_to": 8,
1362 "class_list": [
1363 "unknown"
1364 ],
1365 "base_class": {
1366 "hex": "0000",
1367 "name": "Unclassified device",
1368 "value": 0
1369 },
1370 "sub_class": {
1371 "hex": "0000",
1372 "name": "Unclassified device",
1373 "value": 0
1374 },
1375 "vendor": "Virtio",
1376 "device": "",
1377 "model": "Virtio Unclassified device",
1378 "sysfs_id": "/devices/pci0000:00/0000:00:04.0/virtio1",
1379 "sysfs_bus_id": "virtio1",
1380 "driver": "virtio_scsi",
1381 "driver_module": "virtio_scsi",
1382 "drivers": [
1383 "virtio_scsi"
1384 ],
1385 "driver_modules": [
1386 "virtio_scsi"
1387 ],
1388 "module_alias": "virtio:d00000008v0000108E"
1389 },
1390 {
1391 "index": 17,
1392 "attached_to": 0,
1393 "class_list": [
1394 "unknown"
1395 ],
1396 "base_class": {
1397 "hex": "0007",
1398 "name": "Communication controller",
1399 "value": 7
1400 },
1401 "sub_class": {
1402 "hex": "0000",
1403 "name": "Serial controller",
1404 "value": 0
1405 },
1406 "pci_interface": {
1407 "hex": "0002",
1408 "name": "16550",
1409 "value": 2
1410 },
1411 "device": {
1412 "hex": "0000",
1413 "name": "16550A",
1414 "value": 0
1415 },
1416 "model": "16550A",
1417 "unix_device_name": "/dev/ttyS0",
1418 "unix_device_names": [
1419 "/dev/ttyS0"
1420 ],
1421 "resources": [
1422 {
1423 "type": "io",
1424 "base": 1016,
1425 "range": 0,
1426 "enabled": true,
1427 "access": "read_write"
1428 },
1429 {
1430 "type": "irq",
1431 "base": 4,
1432 "triggered": 0,
1433 "enabled": true
1434 }
1435 ]
1436 }
1437 ],
1438 "usb_controller": [
1439 {
1440 "index": 6,
1441 "attached_to": 0,
1442 "class_list": [
1443 "usb_controller",
1444 "pci"
1445 ],
1446 "bus_type": {
1447 "hex": "0004",
1448 "name": "PCI",
1449 "value": 4
1450 },
1451 "slot": {
1452 "bus": 0,
1453 "number": 1
1454 },
1455 "base_class": {
1456 "hex": "000c",
1457 "name": "Serial bus controller",
1458 "value": 12
1459 },
1460 "sub_class": {
1461 "hex": "0003",
1462 "name": "USB Controller",
1463 "value": 3
1464 },
1465 "pci_interface": {
1466 "hex": "0000",
1467 "name": "UHCI",
1468 "value": 0
1469 },
1470 "vendor": {
1471 "hex": "8086",
1472 "name": "Intel Corporation",
1473 "value": 32902
1474 },
1475 "sub_vendor": {
1476 "hex": "1af4",
1477 "value": 6900
1478 },
1479 "device": {
1480 "hex": "7020",
1481 "value": 28704
1482 },
1483 "sub_device": {
1484 "hex": "1100",
1485 "value": 4352
1486 },
1487 "revision": {
1488 "hex": "0001",
1489 "value": 1
1490 },
1491 "model": "Intel USB Controller",
1492 "sysfs_id": "/devices/pci0000:00/0000:00:01.2",
1493 "sysfs_bus_id": "0000:00:01.2",
1494 "resources": [
1495 {
1496 "type": "io",
1497 "base": 49248,
1498 "range": 32,
1499 "enabled": true,
1500 "access": "read_write"
1501 },
1502 {
1503 "type": "irq",
1504 "base": 11,
1505 "triggered": 0,
1506 "enabled": true
1507 }
1508 ],
1509 "detail": {
1510 "function": 2,
1511 "command": 7,
1512 "header_type": 0,
1513 "secondary_bus": 0,
1514 "irq": 11,
1515 "prog_if": 0
1516 },
1517 "driver": "uhci_hcd",
1518 "driver_module": "uhci_hcd",
1519 "drivers": [
1520 "uhci_hcd"
1521 ],
1522 "driver_modules": [
1523 "uhci_hcd"
1524 ],
1525 "driver_info": {
1526 "type": "module",
1527 "db_entry_0": [
1528 "uhci-hcd"
1529 ],
1530 "active": true,
1531 "modprobe": true,
1532 "names": [
1533 "uhci-hcd"
1534 ],
1535 "module_args": [
1536 ""
1537 ],
1538 "conf": ""
1539 },
1540 "module_alias": "pci:v00008086d00007020sv00001AF4sd00001100bc0Csc03i00"
1541 }
1542 ]
1543 },
1544 "smbios": {
1545 "bios": {
1546 "handle": 0,
1547 "vendor": "EFI Development Kit II / OVMF",
1548 "version": "1.6.4",
1549 "date": "02/27/2023",
1550 "features": null,
1551 "start_address": "0xe8000",
1552 "rom_size": 65536
1553 },
1554 "chassis": [
1555 {
1556 "handle": 768,
1557 "manufacturer": "QEMU",
1558 "version": "pc-i440fx-7.2",
1559 "chassis_type": {
1560 "hex": "0001",
1561 "name": "Other",
1562 "value": 1
1563 },
1564 "lock_present": false,
1565 "bootup_state": {
1566 "hex": "0003",
1567 "name": "Safe",
1568 "value": 3
1569 },
1570 "power_state": {
1571 "hex": "0003",
1572 "name": "Safe",
1573 "value": 3
1574 },
1575 "thermal_state": {
1576 "hex": "0003",
1577 "name": "Safe",
1578 "value": 3
1579 },
1580 "security_state": {
1581 "hex": "0002",
1582 "name": "Unknown",
1583 "value": 2
1584 },
1585 "oem": "0x0"
1586 }
1587 ],
1588 "memory_array": [
1589 {
1590 "handle": 4096,
1591 "location": {
1592 "hex": "0001",
1593 "name": "Other",
1594 "value": 1
1595 },
1596 "usage": {
1597 "hex": "0003",
1598 "name": "System memory",
1599 "value": 3
1600 },
1601 "ecc": {
1602 "hex": "0006",
1603 "name": "Multi-bit",
1604 "value": 6
1605 },
1606 "max_size": "0x100000",
1607 "error_handle": 65534,
1608 "slots": 1
1609 }
1610 ],
1611 "memory_array_mapped_address": [
1612 {
1613 "handle": 4864,
1614 "array_handle": 4096,
1615 "start_address": "0x0",
1616 "end_address": "0x40000000",
1617 "part_width": 1
1618 }
1619 ],
1620 "memory_device": [
1621 {
1622 "handle": 4352,
1623 "location": "DIMM 0",
1624 "bank_location": "",
1625 "manufacturer": "QEMU",
1626 "part_number": "",
1627 "array_handle": 4096,
1628 "error_handle": 65534,
1629 "width": 0,
1630 "ecc_bits": 0,
1631 "size": 1048576,
1632 "form_factor": {
1633 "hex": "0009",
1634 "name": "DIMM",
1635 "value": 9
1636 },
1637 "set": 0,
1638 "memory_type": {
1639 "hex": "0007",
1640 "name": "RAM",
1641 "value": 7
1642 },
1643 "memory_type_details": [
1644 "Other"
1645 ],
1646 "speed": 0
1647 }
1648 ],
1649 "processor": [
1650 {
1651 "handle": 1024,
1652 "socket": "CPU 0",
1653 "socket_type": {
1654 "hex": "0001",
1655 "name": "Other",
1656 "value": 1
1657 },
1658 "socket_populated": true,
1659 "manufacturer": "QEMU",
1660 "version": "pc-i440fx-7.2",
1661 "part": "",
1662 "processor_type": {
1663 "hex": "0003",
1664 "name": "CPU",
1665 "value": 3
1666 },
1667 "processor_family": {
1668 "hex": "0001",
1669 "name": "Other",
1670 "value": 1
1671 },
1672 "processor_status": {
1673 "hex": "0001",
1674 "name": "Enabled",
1675 "value": 1
1676 },
1677 "clock_ext": 0,
1678 "clock_max": 2000,
1679 "cache_handle_l1": 0,
1680 "cache_handle_l2": 0,
1681 "cache_handle_l3": 0
1682 }
1683 ],
1684 "system": {
1685 "handle": 256,
1686 "manufacturer": "QEMU",
1687 "product": "Standard PC (i440FX + PIIX, 1996)",
1688 "version": "pc-i440fx-7.2",
1689 "wake_up": {
1690 "hex": "0006",
1691 "name": "Power Switch",
1692 "value": 6
1693 }
1694 }
1695 }
1696}