1. 11 4月, 2018 4 次提交
    • 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
    • D
      travis: skip builds on -maint branches · a3b1ee05
      Daniel P. Berrangé 提交于
      For patches pushed upstream we want builds run on master branch, but
      don't want them run on the -maint branches, as we are not keeping the
      .travis.yml file on stable branches updated wrt latest needs of travis
      CI platforms.
      
      We can't just whitelist 'master' though, because that will prevent
      developers triggering their own private travis builds. So we just
      blacklist *-maint, since developers will typically use named feature
      branches for any work.
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      a3b1ee05
    • 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
  2. 10 4月, 2018 19 次提交
  3. 09 4月, 2018 15 次提交
  4. 07 4月, 2018 2 次提交