1. 12 4月, 2018 5 次提交
  2. 11 4月, 2018 3 次提交
    • A
      qemu: Format gic-version=2 on the command line · 550950e5
      Andrea Bolognani 提交于
      Up until now we have only formatted non-default GIC versions on
      the command line, in order to maintain compatibility with older
      QEMU versions that didn't implement the gic-version option to
      begin with; however, doing so is entirely unnecessary for newer
      QEMU versions, where the option is available. Moreover, having
      the GIC version formatted on the command line at all times
      ensures that QEMU changing its own defaults doesn't affect the
      ABI of libvirt guests.
      
      A few test cases are removed to avoid extra churn. It doesn't
      matter for coverage, as those scenarios are already covered by
      other parts of the test suite.
      
      This patch is better viewed with 'git show -w'.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      550950e5
    • V
      util: don't check for parallel iteration in hash-related functions · 4d7384eb
      Vincent Bernat 提交于
      This is the responsability of the caller to apply the correct lock
      before using these functions. Moreover, the use of a simple boolean
      was still racy: two threads may check the boolean and "lock" it
      simultaneously.
      
      Users of functions from src/util/virhash.c have to be checked for
      correctness. Lookups and iteration should hold a RO
      lock. Modifications should hold a RW lock.
      
      Most important uses seem to be covered. Callers have now a greater
      responsability, notably the ability to execute some operations while
      iterating were reliably forbidden before are now accepted.
      Signed-off-by: NVincent Bernat <vincent@bernat.im>
      4d7384eb
    • W
      storage: extend preallocation flags support for qemu-img · c9ec7088
      Wim ten Have 提交于
      This patch adds support to qcow2 formatted filesystem object storage by
      instructing qemu-img to build them with preallocation=falloc whenever the
      XML described storage <allocation> matches its <capacity>.  For all other
      cases the filesystem stored objects are built with preallocation=metadata.
      Signed-off-by: NWim ten Have <wim.ten.have@oracle.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c9ec7088
  3. 10 4月, 2018 8 次提交
  4. 07 4月, 2018 1 次提交
  5. 06 4月, 2018 3 次提交
  6. 04 4月, 2018 2 次提交
  7. 03 4月, 2018 10 次提交
  8. 01 4月, 2018 1 次提交
  9. 24 3月, 2018 7 次提交