1. 26 2月, 2015 1 次提交
  2. 18 2月, 2015 1 次提交
    • M
      hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() · 1ce6be24
      Markus Armbruster 提交于
      Some are called do_info_SUBCOMMAND() (old ones, usually), some
      hmp_info_SUBCOMMAND(), some SUBCOMMAND_info(), sometimes SUBCOMMAND
      pointlessly differs in spelling.
      
      Normalize to hmp_info_SUBCOMMAND(), where SUBCOMMAND is exactly the
      subcommand name with '-' replaced by '_'.
      
      Exceptions:
      
      * sun4m_irq_info(), sun4m_pic_info() renamed to sun4m_hmp_info_irq(),
        sun4m_hmp_info_pic().
      
      * lm32_irq_info(), lm32_pic_info() renamed to lm32_hmp_info_irq(),
        lm32_hmp_info_pic().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      1ce6be24
  3. 26 11月, 2014 1 次提交
  4. 23 11月, 2014 1 次提交
  5. 02 11月, 2014 3 次提交
  6. 31 10月, 2014 1 次提交
  7. 15 10月, 2014 3 次提交
  8. 10 9月, 2014 1 次提交
    • D
      xhci PCIe endpoint migration compatibility fix · e6043e92
      Dr. David Alan Gilbert 提交于
      Add back the PCIe config capabilities on XHCI cards in non-PCIe slots,
      but only for machine types before 2.1.
      
      This fixes a migration incompatibility in the XHCI PCI devices
      caused by:
         058fdcf5 - xhci: add endpoint cap on express bus only
      
      Note that in fixing it for compatibility with older QEMUs, it breaks
      compatibility with existing QEMU 2.1's on older machine types.
      
      The status before this patch was (if it used an XHCI adapter):
         machine type | source qemu
           any           pre-2.1     - FAIL
           any           2.1...      - PASS
      
      With this patch:
         machine type | source qemu
           any           pre-2.1    - PASS
           pre-2.1       2.1...     - FAIL
           2.1           2.1...     - PASS
      
      A test to trigger it is to add '-device nec-usb-xhci,id=xhci,addr=0x12'
      to the command line.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e6043e92
  9. 25 8月, 2014 1 次提交
  10. 14 8月, 2014 3 次提交
  11. 01 8月, 2014 1 次提交
  12. 29 7月, 2014 1 次提交
    • P
      pc: hack for migration compatibility from QEMU 2.0 · 07fb6176
      Paolo Bonzini 提交于
      Changing the ACPI table size causes migration to break, and the memory
      hotplug work opened our eyes on how horribly we were breaking things in
      2.0 already.
      
      The ACPI table size is rounded to the next 4k, which one would think
      gives some headroom.  In practice this is not the case, because the user
      can control the ACPI table size (each CPU adds 97 bytes to the SSDT and
      8 to the MADT) and so some "-smp" values will break the 4k boundary and
      fail to migrate.  Similarly, PCI bridges add ~1870 bytes to the SSDT.
      
      This patch concerns itself with fixing migration from QEMU 2.0.  It
      computes the payload size of QEMU 2.0 and always uses that one.
      The previous patch shrunk the ACPI tables enough that the QEMU 2.0 size
      should always be enough; non-AML tables can change depending on the
      configuration (especially MADT, SRAT, HPET) but they remain the same
      between QEMU 2.0 and 2.1, so we only compute our padding based on the
      sizes of the SSDT and DSDT.
      
      Migration from QEMU 1.7 should work for guests that have a number of CPUs
      other than 12, 13, 14, 54, 55, 56, 97, 98, 139, 140.  It was already
      broken from QEMU 1.7 to QEMU 2.0 in the same way, though.
      
      Even with this patch, QEMU 1.7 and 2.0 have two different ideas of
      "-M pc-i440fx-2.0" when there are PCI bridges.  Igor sent a patch to
      adopt the QEMU 1.7 definition.  I think distributions should apply
      it if they move directly from QEMU 1.7 to 2.1+ without ever packaging
      version 2.0.
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Tested-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      07fb6176
  13. 29 6月, 2014 2 次提交
    • E
      pc: Fix "prog_if" typo on PC_COMPAT_2_0 · fa118d1f
      Eduardo Habkost 提交于
      The property name is "prog_if", not "prof_if".
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Reported-by: NBALATON Zoltan <balaton@eik.bme.hu>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      fa118d1f
    • E
      pc: Move q35 compat props to PC_COMPAT_* · b8f5cfd6
      Eduardo Habkost 提交于
      For each compat property on PC_Q35_COMPAT_*, there are only two
      possibilities:
      
       * If the device is never instantiated when using a machine other than
         pc-q35, then the compat property can be safely added to
         PC_COMPAT_*;
       * If the device can be instantiated when using a machine other than
         pc-q35, that means the other machines also need the compat property
         to be set.
      
      That means we don't need separate PC_Q35_COMPAT_* macros at all, today.
      
      The hpet.hpet-intcap case is interesting: piix and q35 do have something
      that emulates different defaults, but the machine-specific default is
      applied _after_ compat_props are applied, by simply checking if the
      property is zero (which is the real default on the hpet code).
      
      The hpet.hpet-intcap=0x4 compat property can (should?) be applied to
      piix too, because 0x4 was the default on both piix and q35 before the
      hpet-intcap property was introduced.
      
      Now, if one day we change the default HPET intcap on one of the PC
      machine-types again, we may want to introduce PC_{Q35,I440FX}_COMPAT
      macros. But while we don't need that, we can keep the code simple.
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Cc: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      b8f5cfd6
  14. 23 6月, 2014 2 次提交
  15. 19 6月, 2014 11 次提交
  16. 18 6月, 2014 1 次提交
  17. 02 6月, 2014 1 次提交
  18. 21 5月, 2014 1 次提交
  19. 07 5月, 2014 2 次提交
  20. 05 5月, 2014 1 次提交
  21. 14 2月, 2014 1 次提交