mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
347a712ab1
Test cases for virSysinfoRead. Initially, there are tests for x86 (DMI based) and s390 (/proc/... based). In lack of PPC data, I have stubbed out the test for it, but it can be added with a minimal effort. Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
26 lines
786 B
Plaintext
26 lines
786 B
Plaintext
<sysinfo type='smbios'>
|
|
<system>
|
|
<entry name='manufacturer'>IBM</entry>
|
|
<entry name='serial'>0000000000012345</entry>
|
|
<entry name='family'>2817</entry>
|
|
</system>
|
|
<processor>
|
|
<entry name='family'>2817</entry>
|
|
<entry name='manufacturer'>IBM/S390</entry>
|
|
<entry name='version'>FF</entry>
|
|
<entry name='serial_number'>000123</entry>
|
|
</processor>
|
|
<processor>
|
|
<entry name='family'>2817</entry>
|
|
<entry name='manufacturer'>IBM/S390</entry>
|
|
<entry name='version'>FF</entry>
|
|
<entry name='serial_number'>100123</entry>
|
|
</processor>
|
|
<processor>
|
|
<entry name='family'>2817</entry>
|
|
<entry name='manufacturer'>IBM/S390</entry>
|
|
<entry name='version'>FF</entry>
|
|
<entry name='serial_number'>200123</entry>
|
|
</processor>
|
|
</sysinfo>
|