libvirt/src/conf
Zhuang Yanying c8fec25692 conf: Add support for setting Chassis SMBIOS data fields
This type of information defines attributes of a system
chassis, such as SMBIOS Chassis Asset Tag.

access inside VM (for example)
Linux:   /sys/class/dmi/id/chassis_asset_tag.
Windows: (Get-WmiObject Win32_SystemEnclosure).SMBIOSAssetTag
          wirhin Windows PowerShell.

As an example, add the following to the guest XML

    <chassis>
      <entry name='manufacturer'>Dell Inc.</entry>
      <entry name='version'>2.12</entry>
      <entry name='serial'>65X0XF2</entry>
      <entry name='asset'>40000101</entry>
      <entry name='sku'>Type3Sku1</entry>
    </chassis>

Signed-off-by: Zhuang Yanying <ann.zhuangyanying@huawei.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-02-17 07:36:46 -05:00
..
capabilities.c conf: Use virResctrlInfo in capabilities 2018-01-25 17:16:08 +01:00
capabilities.h conf: Use virResctrlInfo in capabilities 2018-01-25 17:16:08 +01:00
cpu_conf.c conf: include x86 microcode version in virsh capabilities 2018-01-04 16:52:03 +01:00
cpu_conf.h conf: include x86 microcode version in virsh capabilities 2018-01-04 16:52:03 +01:00
device_conf.c conf: Move some virDomainDeviceInfo functions 2017-07-21 17:18:40 +02:00
device_conf.h conf: Move some virDomainDeviceInfo functions 2017-07-21 17:18:40 +02:00
domain_addr.c qemu: address: Remove dead code when un-reserving PCI address 2017-10-19 14:50:50 +02:00
domain_addr.h qemu: address: Remove dead code when un-reserving PCI address 2017-10-19 14:50:50 +02:00
domain_audit.c conf: audit passthrough input devices at domain startup 2017-10-19 14:34:21 +02:00
domain_audit.h conf: audit passthrough input devices at domain startup 2017-10-19 14:34:21 +02:00
domain_capabilities.c domcaps: Treat host models as case-insensitive strings 2018-01-12 06:31:53 -05:00
domain_capabilities.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domain_conf.c conf: Add support for setting Chassis SMBIOS data fields 2018-02-17 07:36:46 -05:00
domain_conf.h conf: Improve HPT feature handling 2018-02-13 14:40:09 +01:00
domain_event.c events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
domain_event.h lib: Introduce event for tracking disk backing file write threshold 2017-03-27 09:29:57 +02:00
domain_nwfilter.c
domain_nwfilter.h
interface_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
interface_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
netdev_bandwidth_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
netdev_bandwidth_conf.h Revert "virNetDevSupportBandwidth: Enable QoS for vhostuser" 2017-11-13 06:25:16 +01:00
netdev_vlan_conf.c
netdev_vlan_conf.h
netdev_vport_profile_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
netdev_vport_profile_conf.h
network_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
network_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
network_event.c
network_event.h
networkcommon_conf.c
networkcommon_conf.h
node_device_conf.c build: Fix broken build on FreeBSD and OSX after recent nodedev series 2018-01-29 17:53:13 +01:00
node_device_conf.h conf: Replace usage of virNodeDevCapMdevType with virMediatedDeviceType 2018-01-29 15:34:30 +01:00
node_device_event.c
node_device_event.h
numa_conf.c conf: Check for NUMA distances in validity check 2018-02-07 13:53:20 +01:00
numa_conf.h numa: Introduce virDomainNumaNodeDistanceIsUsingDefaults 2017-11-23 14:54:31 +01:00
nwfilter_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
nwfilter_conf.h maint: Replace tabs with spaces in all source files in repo 2017-10-18 13:25:10 +02:00
nwfilter_ipaddrmap.c nwfilter: Don't have virNWFilterIPAddrMapAddIPAddr consume input 2017-10-02 06:14:32 -04:00
nwfilter_ipaddrmap.h
nwfilter_params.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
nwfilter_params.h
object_event_private.h
object_event.c events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
object_event.h events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
secret_conf.c util: Move virSecretUsageType to virsecret.h 2017-09-21 15:46:48 -04:00
secret_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
secret_event.c
secret_event.h
snapshot_conf.c conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01:00
snapshot_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storage_adapter_conf.c conf: Convert virStoragePoolSourceAdapter to virStorageAdapter 2017-03-15 21:17:47 -04:00
storage_adapter_conf.h conf: Convert virStoragePoolSourceAdapter to virStorageAdapter 2017-03-15 21:17:47 -04:00
storage_conf.c util: storagefile: Add helpers to check presence of backing store 2017-10-17 06:19:18 +02:00
storage_conf.h storage: Privatize virStoragePoolObj and virStorageVolDefList 2017-11-07 14:12:52 -05:00
storage_event.c
storage_event.h
virchrdev.c Move src/fdstream to src/util/virfdstream 2017-03-27 13:13:29 +02:00
virchrdev.h
virdomainobjlist.c conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
virdomainobjlist.h conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
virinterfaceobj.c conf: Rename [n]macs and maxmacs to [n]names and maxnames 2017-10-20 14:48:23 -04:00
virinterfaceobj.h interface: Make _virInterfaceObjList virObjectRWLockable 2017-10-19 15:39:44 -04:00
virnetworkobj.c network: Convert virNetworkObjList to use RWObjectLockable 2017-10-12 18:30:39 -04:00
virnetworkobj.h network: Fix virNetworkObjBridgeInUse return type 2017-08-28 14:02:22 -04:00
virnodedeviceobj.c conf: nodedev: Refresh capabilities before touching them 2018-01-29 15:34:30 +01:00
virnodedeviceobj.h nodedev: Move privileged flag from udev private data to driver's state 2017-10-19 08:54:52 +02:00
virnwfilterobj.c nwfilter: Remove unnecessary UUID comparison bypass 2018-02-02 15:01:10 -05:00
virnwfilterobj.h nwfilter: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04:00
virsavecookie.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
virsavecookie.h conf: Introduce virSaveCookie 2017-06-07 13:36:01 +02:00
virsecretobj.c secrets: Convert to use ObjectRWLockable 2017-10-12 21:30:52 -04:00
virsecretobj.h secret: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04:00
virstorageobj.c storage: Complete implementation volume by hash object 2018-01-10 08:10:24 -05:00
virstorageobj.h conf: Use bool for @check_active parameter 2018-01-04 10:54:08 -05:00