• D
    Expose a host UUID in the capabilities XML · 60881161
    Daniel P. Berrange 提交于
    Allow for a host UUID in the capabilities XML. Local drivers
    will initialize this from the SMBIOS data. If a sanity check
    shows SMBIOS uuid is invalid, allow an override from the
    libvirtd.conf configuration file
    
    * daemon/libvirtd.c, daemon/libvirtd.conf: Support a host_uuid
      configuration option
    * docs/schemas/capability.rng: Add optional host uuid field
    * src/conf/capabilities.c, src/conf/capabilities.h: Include
      host UUID in XML
    * src/libvirt_private.syms: Export new uuid.h functions
    * src/lxc/lxc_conf.c, src/qemu/qemu_driver.c,
      src/uml/uml_conf.c: Set host UUID in capabilities
    * src/util/uuid.c, src/util/uuid.h: Support for host UUIDs
    * src/node_device/node_device_udev.c: Use the host UUID functions
    * tests/confdata/libvirtd.conf, tests/confdata/libvirtd.out: Add
      new host_uuid config option to test
    60881161
node_device_udev.c 44.7 KB