mbox

[PULL,00/36] pc, pci, virtio: new features, cleanups, fixes

Message ID 20160704194604-mutt-send-email-mst@redhat.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

Message

Michael S. Tsirkin July 4, 2016, 4:46 p.m. UTC
The following changes since commit e2c8f9e44e07d8210049abaa6042ec3c956f1dd4:

  Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging (2016-07-04 10:49:17 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to 278a2a21f80031f7f5e9c436df96a13860726107:

  vmw_pvscsi: remove unnecessary internal msi state flag (2016-07-04 19:43:39 +0300)

----------------------------------------------------------------
pc, pci, virtio: new features, cleanups, fixes

iommus can not be added with -device.
cleanups and fixes all over the place

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
Cao jin (13):
      pci_register_bar: cleanup
      change pvscsi_init_msi() type to void
      usb xhci: change msi/msix property type
      intel-hda: change msi property type
      mptsas: change msi property type
      megasas: change msi/msix property type
      pci bridge dev: change msi property type
      pci: Convert msi_init() to Error and fix callers to check it
      megasas: remove unnecessary megasas_use_msi()
      mptsas: remove unnecessary internal msi state flag
      vmxnet3: remove unnecessary internal msi state flag
      e1000e: remove unnecessary internal msi state flag
      vmw_pvscsi: remove unnecessary internal msi state flag

Cornelia Huck (1):
      virtio: revert host notifiers to old semantics

Gerd Hoffmann (1):
      xen: fix ram init regression

Igor Mammedov (2):
      tests: acpi: add CPU hotplug testcase
      tests: add APIC.cphp and DSDT.cphp blobs

Marcel Apfelbaum (11):
      hw/ppc: realize the PCI root bus as part of mac99 init
      hw/pci: delay bus_master_enable_region initialization
      q35: allow dynamic sysbus
      hw/iommu: enable iommu with -device
      machine: remove iommu property
      tests/acpi: add pxb/pxb-pcie tests
      hw/pxb: declare pxb devices as not hot-pluggable
      hw/acpi: fix a DSDT table issue when a pxb is present.
      acpi: refactor pxb crs computation
      hw/apci: handle 64-bit MMIO regions correctly
      tests/acpi: Add pxb/pxb-pcie tests blobs

Markus Armbruster (6):
      piix: Set I440FXState member pci_info.w32 in one place
      pc: Eliminate PcPciInfo
      log: Clean up misuse of Range for -dfilter
      range: Eliminate direct Range member access
      range: Replace internal representation of Range
      log: Permit -dfilter 0..0xffffffffffffffff

Michael S. Tsirkin (2):
      virtio: set low features early on load
      Revert "virtio-net: unbreak self announcement and guest offloads after migration"

 hw/scsi/mptsas.h                       |   5 +-
 include/hw/i386/pc.h                   |   5 -
 include/hw/pci-host/q35.h              |   3 +-
 include/hw/pci/msi.h                   |   3 +-
 include/hw/pci/pci_bus.h               |   2 +
 include/qemu/range.h                   | 103 +++++++++++++++++---
 include/sysemu/sysemu.h                |   1 +
 hw/audio/intel-hda.c                   |  29 ++++--
 hw/core/machine.c                      |  20 ----
 hw/i386/acpi-build.c                   | 169 ++++++++++++++++++++++-----------
 hw/i386/intel_iommu.c                  |  16 ++++
 hw/i386/pc.c                           |   2 +-
 hw/i386/pc_piix.c                      |  50 +++++-----
 hw/i386/pc_q35.c                       |   5 +-
 hw/ide/ich.c                           |   7 +-
 hw/net/e1000e.c                        |  37 ++------
 hw/net/virtio-net.c                    |  40 ++++----
 hw/net/vmxnet3.c                       |  52 ++++------
 hw/pci-bridge/ioh3420.c                |   6 +-
 hw/pci-bridge/pci_bridge_dev.c         |  31 ++++--
 hw/pci-bridge/pci_expander_bridge.c    |   4 +
 hw/pci-bridge/xio3130_downstream.c     |   6 +-
 hw/pci-bridge/xio3130_upstream.c       |   6 +-
 hw/pci-host/piix.c                     |  32 ++++---
 hw/pci-host/q35.c                      |  72 ++++++--------
 hw/pci/msi.c                           |  11 ++-
 hw/pci/pci.c                           |  74 ++++++++++-----
 hw/ppc/mac_newworld.c                  |   1 +
 hw/scsi/megasas.c                      |  59 ++++++------
 hw/scsi/mptsas.c                       |  36 ++++---
 hw/scsi/vmw_pvscsi.c                   |  15 +--
 hw/usb/hcd-xhci.c                      |  35 +++++--
 hw/vfio/pci.c                          |   7 +-
 hw/virtio/virtio-bus.c                 |  26 ++---
 hw/virtio/virtio.c                     |  10 ++
 qapi/string-input-visitor.c            |  20 ++--
 qapi/string-output-visitor.c           |  18 ++--
 tests/bios-tables-test.c               |  65 +++++++++++++
 tests/test-logging.c                   |  11 +++
 util/log.c                             |  27 +++---
 util/range.c                           |  19 ++--
 vl.c                                   |   5 +
 xen-hvm.c                              |   3 +
 qemu-options.hx                        |   3 -
 tests/acpi-test-data/pc/APIC.cphp      | Bin 0 -> 160 bytes
 tests/acpi-test-data/pc/DSDT.cphp      | Bin 0 -> 6435 bytes
 tests/acpi-test-data/pc/DSDT.pxb       | Bin 0 -> 6280 bytes
 tests/acpi-test-data/q35/APIC.cphp     | Bin 0 -> 160 bytes
 tests/acpi-test-data/q35/DSDT.cphp     | Bin 0 -> 9197 bytes
 tests/acpi-test-data/q35/DSDT.pxb_pcie | Bin 0 -> 9098 bytes
 50 files changed, 717 insertions(+), 434 deletions(-)
 create mode 100644 tests/acpi-test-data/pc/APIC.cphp
 create mode 100644 tests/acpi-test-data/pc/DSDT.cphp
 create mode 100644 tests/acpi-test-data/pc/DSDT.pxb
 create mode 100644 tests/acpi-test-data/q35/APIC.cphp
 create mode 100644 tests/acpi-test-data/q35/DSDT.cphp
 create mode 100644 tests/acpi-test-data/q35/DSDT.pxb_pcie

Comments

Peter Maydell July 5, 2016, 10:07 a.m. UTC | #1
On 4 July 2016 at 17:46, Michael S. Tsirkin <mst@redhat.com> wrote:
> The following changes since commit e2c8f9e44e07d8210049abaa6042ec3c956f1dd4:
>
>   Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging (2016-07-04 10:49:17 +0100)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>
> for you to fetch changes up to 278a2a21f80031f7f5e9c436df96a13860726107:
>
>   vmw_pvscsi: remove unnecessary internal msi state flag (2016-07-04 19:43:39 +0300)
>
> ----------------------------------------------------------------
> pc, pci, virtio: new features, cleanups, fixes
>
> iommus can not be added with -device.
> cleanups and fixes all over the place
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> ----------------------------------------------------------------

Hi. I'm afraid this fails 'make check' on 32-bit ARM:

TEST: tests/bios-tables-test... (pid=6348)
  /i386/acpi/piix4/tcg:                                                OK
  /i386/acpi/piix4/tcg/bridge:                                         OK
  /i386/acpi/piix4/tcg/ipmi:                                           OK
  /i386/acpi/piix4/tcg/cpuhp:                                          OK
  /i386/acpi/piix4/tcg/pxb:
qemu-system-i386: -object memory-backend-file,size
=4G,mem-path=/tmp/shmem,share,id=mb: memory size 0x0 must be equal to
or larger than page size 0x1000
socket_accept failed: Resource temporarily unavailable
**
ERROR:/home/petmay01/qemu/tests/libqtest.c:197:qtest_init: assertion
failed: (s->fd >= 0 && s->qmp_fd >= 0)
FAIL
GTester: last random seed: R02Sc223c7a9fe71ba2c8b765236341f9eb4
(pid=6367)
  /i386/acpi/q35/tcg:                                                  OK
  /i386/acpi/q35/tcg/bridge:                                           OK
  /i386/acpi/q35/tcg/ipmi:                                             OK
  /i386/acpi/q35/tcg/cpuhp:                                            OK
  /i386/acpi/q35/tcg/pxb-pcie:
qemu-system-i386: -object
memory-backend-file,size=4G,mem-path=/tmp/shmem,share,id=mb: memory
size 0x0 must be equal to or larger than page size 0x1000
socket_accept failed: Resource temporarily unavailable
**
ERROR:/home/petmay01/qemu/tests/libqtest.c:197:qtest_init: assertion
failed: (s->fd >= 0 && s->qmp_fd >= 0)
FAIL
GTester: last random seed: R02S99f74d1571ae513e9bc2f6919818463a
(pid=6386)
FAIL: tests/bios-tables-test


There is also a new warning from clang's sanitizer:
GTESTER check-qtest-i386
/home/petmay01/linaro/qemu-for-merges/hw/pci/pci.c:196:23: runtime
error: shift exponent -1 is negative


And tests/bios-tables-test hung under OSX:

(gdb) thread apply all bt

Thread 1 (process 53686):
#0  0x00007fff868df762 in accept ()
#1  0x0000000100630b48 in socket_accept (sock=3) at
/Users/pm215/src/qemu-for-merges/tests/libqtest.c:86
#2  0x0000000100630741 in qtest_init (extra_args=0x7f83a1516dd0 "-net
none -display none -machine accel=tcg -device
pxb,id=pxb,bus_nr=0x80,bus=pci.0 -object
memory-backend-file,size=4G,mem-path=/tmp/shmem,share,id=mb -device
ivshmem-plain,memdev=mb,bus=pxb -drive i"...) at
/Users/pm215/src/qemu-for-merges/tests/libqtest.c:188
#3  0x000000010062c3db in qtest_start [inlined] () at
/Users/pm215/src/qemu-for-merges/tests/libqtest.h:719
#4  0x000000010062c3db in test_acpi_one (params=<value temporarily
unavailable, due to optimizations>, data=0x7fff5f5d4168) at
libqtest.h:719
#5  0x000000010062c2cd in test_acpi_piix4_tcg_pxb () at
/Users/pm215/src/qemu-for-merges/tests/bios-tables-test.c:876
#6  0x000000010073991d in g_test_run_suite_internal ()
#7  0x0000000100739ae1 in g_test_run_suite_internal ()
#8  0x0000000100739ae1 in g_test_run_suite_internal ()
#9  0x0000000100739ae1 in g_test_run_suite_internal ()
#10 0x0000000100739ae1 in g_test_run_suite_internal ()
#11 0x0000000100739198 in g_test_run_suite ()
#12 0x000000010062bdee in main (argc=<value temporarily unavailable,
due to optimizations>, argv=<value temporarily unavailable, due to
optimizations>) at
/Users/pm215/src/qemu-for-merges/tests/bios-tables-test.c:925


thanks
-- PMM