1. 28 11月, 2017 1 次提交
  2. 25 11月, 2017 4 次提交
  3. 24 11月, 2017 3 次提交
    • P
      qemu: command: Properly format disk 'debug' attribute · 1455a91b
      Peter Krempa 提交于
      Move the setup of the disk attribute to the disk source prepare function
      which will allow proper usage with JSON props and move the fallback
      (legacy) generating code into the block which is executed with legacy
      options.
      
      As a side-effect of this change we can clean up propagation of 'cfg'
      into the command generator.
      
      Also it's nice to see that the test output is the same even when the
      value is generated in a different place.
      1455a91b
    • P
      qemu: command: Inject password-secret only when not using JSON props · 6197d572
      Peter Krempa 提交于
      The 'file.password-secret' injection should be used only if we are using
      the old formatter. When formatting the source string from the JSON
      properties, the property should be added there.
      
      Also drop the comment which refers to stuff that will not be used in
      libvirt since -blockdev is the way to go.
      6197d572
    • P
      qemu: command: Mark <shared/> disks as such in qemu · 28907b00
      Peter Krempa 提交于
      Qemu has now an internal mechanism for locking images to fix specific
      cases of disk corruption. This requires libvirt to mark the image as
      shared so that qemu lifts certain restrictions.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1378242
      28907b00
  4. 23 11月, 2017 8 次提交
  5. 20 11月, 2017 6 次提交
  6. 18 11月, 2017 1 次提交
    • M
      qemu: add vmcoreinfo support · 7e4177a3
      Marc-André Lureau 提交于
      Starting from qemu 2.11, the `-device vmcoreinfo` will create a fw_cfg
      entry for a guest to store dump details, necessary to process kernel
      dump with KASLR enabled and providing additional kernel details.
      
      In essence, it is similar to -fw_cfg name=etc/vmcoreinfo,file=X but in
      this case it is not backed by a file, but collected by QEMU itself.
      
      Since the device is a singleton and shouldn't use additional hardware
      resources, it is presented as a <feature> element in the libvirt
      domain XML.
      
      The device is arm/x86 only for now (targets that support fw_cfg+dma).
      
      Related to:
      https://bugzilla.redhat.com/show_bug.cgi?id=1395248Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      7e4177a3
  7. 14 11月, 2017 1 次提交
  8. 13 11月, 2017 1 次提交
  9. 10 11月, 2017 1 次提交
  10. 08 11月, 2017 2 次提交
  11. 07 11月, 2017 11 次提交
  12. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3