1. 11 7月, 2017 2 次提交
  2. 27 6月, 2017 1 次提交
    • C
      Revert "qemu: Support chardevs with ARM virt machines" · e4574da0
      Cole Robinson 提交于
      This reverts commit 70c9b442.
      
      This commit breaks existing aarch64 machvirt configs with:
      
          <serial type='pty'>
            <target port='0'/>
          </serial>
          <console type='pty'>
            <target type='serial' port='0'/>
          </console>
      
      Which fails with:
      
      error: Failed to start domain fedora25-aarch64
      error: internal error: process exited while connecting to monitor:
      2017-06-26T13:55:34.726293Z qemu-system-aarch64: -chardev pty,id=charserial0:
      char device redirected to /dev/pts/5 (label charserial0)
      2017-06-26T13:55:34.782121Z qemu-system-aarch64: -device
      isa-serial,chardev=charserial0,id=serial0: No 'ISA' bus found for device
      'isa-serial'
      e4574da0
  3. 25 6月, 2017 1 次提交
  4. 21 6月, 2017 1 次提交
    • P
      qemu: capabilities: Move comments separating groups of capabilities · 753b8197
      Peter Krempa 提交于
      Similarly to how we specify the groups of 5 capabilities in the header
      file move the labels to separate line also for the VIR_ENUM_IMPL part.
      
      This simplifies rebase conflict resolution in the capability file since
      only lines have to be shuffled around, but they don't need to be edited.
      753b8197
  5. 20 6月, 2017 1 次提交
  6. 08 6月, 2017 2 次提交
  7. 07 6月, 2017 1 次提交
  8. 05 6月, 2017 1 次提交
  9. 26 5月, 2017 1 次提交
  10. 16 5月, 2017 1 次提交
  11. 15 5月, 2017 3 次提交
  12. 09 5月, 2017 1 次提交
  13. 28 4月, 2017 2 次提交
    • P
      5237a74d
    • J
      qemu: Add support for guest CPU cache · df13c0b4
      Jiri Denemark 提交于
      This patch maps /domain/cpu/cache element into -cpu parameters:
      
      - <cache mode='passthrough'/> is translated to host-cache-info=on
      - <cache level='3' mode='emulate'/> is transformed into l3-cache=on
      - <cache mode='disable'/> is turned in host-cache-info=off,l3-cache=off
      
      Any other <cache> element is forbidden.
      
      The tricky part is detecting whether QEMU supports the CPU properties.
      
      The 'host-cache-info' property is introduced in v2.4.0-1389-ge265e3e480,
      earlier QEMU releases enabled host-cache-info by default and had no way
      to disable it. If the property is present, it defaults to 'off' for any
      QEMU until at least 2.9.0.
      
      The 'l3-cache' property was introduced later by v2.7.0-200-g14c985cffa.
      Earlier versions worked as if l3-cache=off was passed. For any QEMU
      until at least 2.9.0 l3-cache is 'off' by default.
      
      QEMU 2.9.0 was the first release which supports probing both properties
      by running device-list-properties with typename=host-x86_64-cpu. Older
      QEMU releases did not support device-list-properties command for CPU
      devices. Thus we can't really rely on probing them and we can just use
      query-cpu-model-expansion QMP command as a witness.
      
      Because the cache property probing is only reliable for QEMU >= 2.9.0
      when both are already supported for quite a few releases, we let QEMU
      report an error if a specific cache mode is explicitly requested. The
      other mode (or both if a user requested CPU cache to be disabled) is
      explicitly turned off for QEMU >= 2.9.0 to avoid any surprises in case
      the QEMU defaults change. Any older QEMU already turns them off so not
      doing so explicitly does not make any harm.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      df13c0b4
  14. 19 4月, 2017 7 次提交
  15. 18 4月, 2017 3 次提交
  16. 13 4月, 2017 1 次提交
  17. 11 4月, 2017 1 次提交
  18. 07 4月, 2017 8 次提交
  19. 03 4月, 2017 2 次提交