1. 03 4月, 2018 2 次提交
  2. 23 3月, 2018 1 次提交
  3. 15 3月, 2018 2 次提交
  4. 14 3月, 2018 1 次提交
  5. 07 3月, 2018 1 次提交
  6. 22 2月, 2018 1 次提交
  7. 19 2月, 2018 1 次提交
    • D
      driver: allow override of connection for secondary drivers · 70854ea3
      Daniel P. Berrangé 提交于
      When the test suite is running, we don't want to be triggering the
      startup of daemons for the secondary drivers. Thus we must provide a way
      to set a custom connection for the secondary drivers, to override the
      default logic which opens a new connection.
      
      This will also be useful for code where we have a whole set of separate
      functions calls all needing the secret driver. Currently the connection
      to the secret driver is opened & closed many times in quick
      succession. This will allow us to pre-open a connection temporarily,
      improving the performance of startup.
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      70854ea3
  8. 17 2月, 2018 1 次提交
    • Z
      conf: Add support for setting Chassis SMBIOS data fields · c8fec256
      Zhuang Yanying 提交于
      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: NZhuang Yanying <ann.zhuangyanying@huawei.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      c8fec256
  9. 13 2月, 2018 1 次提交
  10. 09 2月, 2018 6 次提交
  11. 01 2月, 2018 3 次提交
  12. 31 1月, 2018 2 次提交
  13. 29 1月, 2018 7 次提交
  14. 26 1月, 2018 3 次提交
  15. 12 1月, 2018 1 次提交
  16. 04 1月, 2018 2 次提交
  17. 03 1月, 2018 2 次提交
  18. 14 12月, 2017 3 次提交
    • P
      util: storage: Add helpers to parse and format relPath into privateData · cd317093
      Peter Krempa 提交于
      This will be the first private piece of data that will need to be stored
      in the XML for some drivers. Add helpers which will do it.
      cd317093
    • J
      storage: Convert virStoragePoolObjList to use virObjectRWLockable · 4b2e0ed6
      John Ferlan 提交于
      Now that we have a private storage pool list, we can take the next
      step and convert to using objects. In this case, we're going to use
      RWLockable objects (just like every other driver) with two hash
      tables for lookup by UUID or Name.
      
      Along the way the ForEach and Search API's will be adjusted to use
      the related Hash API's and the various FindBy functions altered and
      augmented to allow for HashLookup w/ and w/o the pool lock already
      taken.
      
      After virStoragePoolObjRemove we will need to virObjectUnref(obj)
      after to indicate the caller is "done" with it's reference. The
      Unlock occurs during the Remove.
      
      The NumOf, GetNames, and Export functions all have their own callback
      functions to return the required data and the FindDuplicate code
      can use the HashSearch function callbacks.
      4b2e0ed6
    • J
      storage: Privatize virStoragePoolObjListPtr · 90e65353
      John Ferlan 提交于
      Move the structure into virstorageobj.c.
      
      Use the virStoragePoolObjListNew allocator to fill in the @pools for
      the storage driver and test driver.
      90e65353