1. 12 4月, 2018 1 次提交
  2. 11 4月, 2018 1 次提交
    • 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
  3. 06 4月, 2018 1 次提交
  4. 03 4月, 2018 4 次提交
    • P
      qemu: domain: Move initialization of disk cachemode for <shareable> disks · a801f0e7
      Peter Krempa 提交于
      The qemu command line generator code set disk caching of shareable disks
      to 'none' when formatting the command line silently. Move this code to a
      common place when preparing the domain definition for startup so that it
      does not have to be duplicated.
      
      The new test case shows that the actual cache mode will now be recorded
      in the live XML definition.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      a801f0e7
    • P
      qemu: command: Add support for qcow2 + luks · 026114b5
      Peter Krempa 提交于
      The old qcow2 encryption format was buggy, so the new approach is to use
      luks inside qcow2. As it turns out, it didn't require that many changes.
      
      It was necessary to fix the command line formatter to stop mangling the
      format when secrets are present and specify the encryption format and
      secret in correct format.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      026114b5
    • P
      conf: Extract logic for updating 'detect_zeroes' mode · 8fc5e5bf
      Peter Krempa 提交于
      For some reason we've decided to silently translate the disk
      detect_zeroes mode if it would be invalid. Extract the
      logic so that it does not need to be copypasta'd across the code base.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      8fc5e5bf
    • P
      util: json: Fix freeing of objects appended to virJSONValue · ea520f6b
      Peter Krempa 提交于
      It was not possible to determine whether virJSONValueObjectAddVArgs and
      the functions using it would consume a virJSONValue or not when used
      with the 'a' or 'A' modifier depending on when the loop failed.
      
      Fix this by passing in a pointer to the pointer so that it can be
      cleared once it's successfully consumed and the callers don't have to
      second-guess leaving a chance of leaking or double freeing the value
      depending on the ordering.
      
      Fix all callers to pass a double pointer too.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      ea520f6b
  5. 01 4月, 2018 1 次提交
  6. 24 3月, 2018 2 次提交
  7. 23 3月, 2018 1 次提交
  8. 16 3月, 2018 1 次提交
    • M
      qemu: Build usb controller command line more wisely · b133fac3
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1552127
      
      When building command line for USB controllers we have to do more
      than just put controller's alias onto the command line. QEMU has
      concept of these joined USB controllers. For instance ehci and
      uhci controllers need to create the same USB bus. To achieve that
      the slave controller needs to refer the master controller. This
      worked until we've introduced user aliases because both master
      and slave had the same alias. With user aliases slave can have
      different alias than master. Therefore, when generating command
      line for slave we need to look up the master's alias.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      b133fac3
  9. 22 2月, 2018 1 次提交
  10. 20 2月, 2018 4 次提交
  11. 17 2月, 2018 1 次提交
  12. 13 2月, 2018 4 次提交
  13. 12 2月, 2018 2 次提交
  14. 10 2月, 2018 1 次提交
  15. 09 2月, 2018 1 次提交
  16. 03 2月, 2018 14 次提交