1. 19 11月, 2018 2 次提交
  2. 16 11月, 2018 1 次提交
  3. 15 11月, 2018 1 次提交
  4. 12 11月, 2018 1 次提交
  5. 08 11月, 2018 1 次提交
    • E
      snapshot: Don't hose list on deletion failure · 68b2596f
      Eric Blake 提交于
      If qemuDomainSnapshotDiscard() fails for any reason (rare,
      but possible with an ill-timed ENOMEM or if
      qemuDomainSnapshotForEachQcow2() has problems talking to the
      qemu guest monitor), then an attempt to retry the snapshot
      deletion API will crash because we didn't undo the effects
      of virDomainSnapshotDropParent() temporarily rearranging the
      internal list structures, and the second attempt to drop
      parents will dereference NULL.  Fix it by instead noting that
      there are only two callers to qemuDomainSnapshotDiscard(),
      and only one of the two callers wants the parent to be updated;
      thus we can move the call to virDomainSnapshotDropParent()
      into a code path that only gets executed on success.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      68b2596f
  6. 08 10月, 2018 2 次提交
  7. 04 10月, 2018 1 次提交
  8. 26 9月, 2018 3 次提交
  9. 20 9月, 2018 2 次提交
  10. 19 9月, 2018 1 次提交
    • J
      qemu: Fix error reporting in qemuDomainSaveImageStartVM · 1468536d
      Jiri Denemark 提交于
      When restoring a domain from a compressed image, we launch an
      intermediate process for decompressing the saved data. If QEMU fails to
      load the data for some reason, we force close the stdin/stdout file
      descriptors of the intermediate process and wait for it to die. However,
      virCommandWait can report various errors which would overwrite the real
      error from QEMU. Thus instead of getting something useful:
      
          internal error: process exited while connecting to monitor:
          2018-09-17T15:17:29.998910Z qemu-system-x86_64: can't apply global
          Skylake-Client-x86_64-cpu.osxsave=off: Property '.osxsave' not found
      
      we could get an irrelevant error message:
      
          internal error: Child process (lzop -dc --ignore-warn) unexpected
          fatal signal 13
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      1468536d
  11. 18 9月, 2018 1 次提交
    • M
      security_manager: Load lock plugin on init · 3e26b476
      Michal Privoznik 提交于
      Now that we know what metadata lock manager user wishes to use we
      can load it when initializing security driver. This is achieved
      by adding new argument to virSecurityManagerNewDriver() and
      subsequently to all functions that end up calling it.
      
      The cfg.mk change is needed in order to allow lock_manager.h
      inclusion in security driver without 'syntax-check' complaining.
      This is safe thing to do as locking APIs will always exist (it's
      only backend implementation that changes). However, instead of
      allowing the include for all other drivers (like cpu, network,
      and so on) allow it only for security driver. This will still
      trigger the error if including from other drivers.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      3e26b476
  12. 17 9月, 2018 2 次提交
  13. 06 9月, 2018 1 次提交
  14. 04 9月, 2018 1 次提交
  15. 28 8月, 2018 1 次提交
  16. 23 8月, 2018 1 次提交
  17. 21 8月, 2018 18 次提交