OSDN Git Service

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Mar 2018 15:48:34 +0000 (15:48 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Mar 2018 15:48:34 +0000 (15:48 +0000)
virtio,vhost,pci,pc: features, cleanups

SRAT tables for DIMM devices
new virtio net flags for speed/duplex
post-copy migration support in vhost
cleanups in pci

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
# gpg: Signature made Tue 20 Mar 2018 14:40:43 GMT
# gpg:                using RSA key 281F0DB8D28D5469
# gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
# gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
# Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
#      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469

* remotes/mst/tags/for_upstream: (51 commits)
  postcopy shared docs
  libvhost-user: Claim support for postcopy
  postcopy: Allow shared memory
  vhost: Huge page align and merge
  vhost+postcopy: Wire up POSTCOPY_END notify
  vhost-user: Add VHOST_USER_POSTCOPY_END message
  libvhost-user: mprotect & madvises for postcopy
  vhost+postcopy: Call wakeups
  vhost+postcopy: Add vhost waker
  postcopy: postcopy_notify_shared_wake
  postcopy: helper for waking shared
  vhost+postcopy: Resolve client address
  postcopy-ram: add a stub for postcopy_request_shared_page
  vhost+postcopy: Helper to send requests to source for shared pages
  vhost+postcopy: Stash RAMBlock and offset
  vhost+postcopy: Send address back to qemu
  libvhost-user+postcopy: Register new regions with the ufd
  migration/ram: ramblock_recv_bitmap_test_byte_offset
  postcopy+vhost-user: Split set_mem_table for postcopy
  vhost+postcopy: Transmit 'listen' to slave
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
# Conflicts:
# scripts/update-linux-headers.sh

16 files changed:
1  2 
Makefile
exec.c
hw/i386/acpi-build.c
hw/pci/pci.c
hw/ppc/spapr.c
include/hw/pci/pci.h
migration/migration.c
migration/migration.h
migration/ram.c
migration/savevm.c
migration/trace-events
qapi/misc.json
qmp.c
scripts/update-linux-headers.sh
trace-events
vl.c

diff --cc Makefile
Simple merge
diff --cc exec.c
Simple merge
Simple merge
diff --cc hw/pci/pci.c
Simple merge
diff --cc hw/ppc/spapr.c
Simple merge
Simple merge
@@@ -155,11 -155,10 +155,13 @@@ MigrationIncomingState *migration_incom
      if (!once) {
          mis_current.state = MIGRATION_STATUS_NONE;
          memset(&mis_current, 0, sizeof(MigrationIncomingState));
+         mis_current.postcopy_remote_fds = g_array_new(FALSE, TRUE,
+                                                    sizeof(struct PostCopyFD));
          qemu_mutex_init(&mis_current.rp_mutex);
          qemu_event_init(&mis_current.main_thread_load_event, false);
 +
 +        init_dirty_bitmap_incoming_migration();
 +
          once = true;
      }
      return &mis_current;
Simple merge
diff --cc migration/ram.c
Simple merge
Simple merge
Simple merge
diff --cc qapi/misc.json
Simple merge
diff --cc qmp.c
Simple merge
@@@ -39,7 -39,9 +39,10 @@@ cp_portable() 
                                       -e 'input-event-codes' \
                                       -e 'sys/' \
                                       -e 'pvrdma_verbs' \
 +                                     -e 'drm.h' \
+                                      -e 'limits' \
+                                      -e 'linux/kernel' \
+                                      -e 'linux/sysinfo' \
                                       > /dev/null
      then
          echo "Unexpected #include in input file $f".
@@@ -151,12 -153,11 +158,14 @@@ rm -rf "$output/include/standard-header
  mkdir -p "$output/include/standard-headers/linux"
  for i in "$tmpdir"/include/linux/*virtio*.h "$tmpdir/include/linux/input.h" \
           "$tmpdir/include/linux/input-event-codes.h" \
-          "$tmpdir/include/linux/pci_regs.h"; do
+          "$tmpdir/include/linux/pci_regs.h" \
+          "$tmpdir/include/linux/ethtool.h" "$tmpdir/include/linux/kernel.h" \
+          "$tmpdir/include/linux/sysinfo.h"; do
      cp_portable "$i" "$output/include/standard-headers/linux"
  done
 +mkdir -p "$output/include/standard-headers/drm"
 +cp_portable "$tmpdir/include/drm/drm_fourcc.h" \
 +            "$output/include/standard-headers/drm"
  
  rm -rf "$output/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma"
  mkdir -p "$output/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma"
diff --cc trace-events
Simple merge
diff --cc vl.c
Simple merge