1. 21 8月, 2018 14 次提交
  2. 20 8月, 2018 2 次提交
    • E
      qemu: Fix probing of AMD SEV support · 764491c9
      Erik Skultety 提交于
      So the procedure to detect SEV support works like this:
      1) we detect that sev-guest is among the QOM types and set the cap flag
      2) we probe the monitor for SEV support
          - this is tricky, because QEMU with compiled SEV support will always
          report -object sev-guest and query-sev-capabilities command, that
          however doesn't mean SEV is supported
      3) depending on what the monitor returned, we either keep or clear the
      capability flag for SEV
      
      Commit a349c6c2 added an explicit check for "GenericError" in the
      monitor reply to prevent libvirtd to spam logs about missing
      'query-sev-capabilities' command. At the same time though, it returned
      success in this case which means that we didn't clear the capability
      flag afterwards and happily formatted SEV into qemuCaps. Therefore,
      adjust all the relevant callers to handle -1 on errors, 0 on SEV being
      unsupported and 1 on SEV being supported.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      764491c9
    • E
      qemu: Define and use a auto cleanup function with virSEVCapability · d96eb28e
      Erik Skultety 提交于
      Keep with the recent effort of replacing as many explicit *Free
      functions with their automatic equivalents.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      d96eb28e
  3. 01 8月, 2018 1 次提交
  4. 26 7月, 2018 1 次提交
  5. 20 7月, 2018 6 次提交
  6. 17 7月, 2018 1 次提交
  7. 10 7月, 2018 2 次提交
  8. 09 7月, 2018 2 次提交
  9. 26 6月, 2018 1 次提交
  10. 14 6月, 2018 1 次提交
  11. 12 6月, 2018 2 次提交
  12. 06 6月, 2018 1 次提交
  13. 05 6月, 2018 2 次提交
  14. 23 5月, 2018 4 次提交