1. 25 5月, 2018 2 次提交
    • J
      domcaps: Add 'genid' to domain capabilities · 0f358fcd
      John Ferlan 提交于
      Report domaincaps <features><genid supported='yes'/> if the guest
      config accepts <genid/> or <genid>$GUID</genid>.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      0f358fcd
    • J
      conf: Add VM Generation ID parse/format support · b50efe97
      John Ferlan 提交于
      The VM Generation ID is a mechanism to provide a unique 128-bit,
      cryptographically random, and integer value identifier known as
      the GUID (Globally Unique Identifier) to the guest OS. The value
      is used to help notify the guest operating system when the virtual
      machine is executed with a different configuration.
      
      This patch adds support for a new "genid" XML element similar to
      the "uuid" element. The "genid" element can have two forms "<genid/>"
      or "<genid>$GUID</genid>". If the $GUID is not provided, libvirt
      will generate one and save it in the XML.
      
      Since adding support for a generated GUID (or UUID like) value to
      be displayed modifying the xml2xml test to include virrandommock.so
      is necessary since it will generate a "known" value.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      b50efe97
  2. 23 5月, 2018 2 次提交
  3. 16 5月, 2018 3 次提交
  4. 15 5月, 2018 1 次提交
  5. 14 5月, 2018 2 次提交
  6. 11 5月, 2018 1 次提交
  7. 07 5月, 2018 1 次提交
  8. 04 5月, 2018 14 次提交
  9. 03 5月, 2018 1 次提交
  10. 02 5月, 2018 1 次提交
  11. 24 4月, 2018 2 次提交
  12. 23 4月, 2018 3 次提交
  13. 20 4月, 2018 1 次提交
    • J
      conf: Add error checking to virDomainSnapshotDiskDefFormat · c028c719
      John Ferlan 提交于
      Commit id '43f2ccdc' called virDomainDiskSourceDefFormatInternal
      rather than formatting the the disk source inline. However, it
      did not handle the case where the helper failed. Over time the
      helper has been renamed to virDomainDiskSourceFormat. Similar to
      other consumers, if virDomainDiskSourceFormat fails, then the
      formatting could be off, so it's better to fail than to continue
      on with some possibly bad data. Alter the function and the caller
      to check status and jump to error in that case.
      
      Found by Coverity
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      c028c719
  14. 18 4月, 2018 6 次提交