qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d3b7b3: scripts/update-linux-headers: add eth


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d3b7b3: scripts/update-linux-headers: add ethtool.h and up...
Date: Tue, 20 Mar 2018 10:05:13 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d3b7b37445503699c99a182506d0bc70f6e1e572
      
https://github.com/qemu/qemu/commit/d3b7b37445503699c99a182506d0bc70f6e1e572
  Author: Jason Baron <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    A include/standard-headers/linux/ethtool.h
    A include/standard-headers/linux/kernel.h
    A include/standard-headers/linux/sysinfo.h
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-headers: add ethtool.h and update to 4.16.0-rc4

A subsequent patch to add support for setting linkspeed/duplex in
virtio-net, requires a few definitions from ethtool.h, which ends up
pulling in kernel.h and sysinfo.h as well.

Signed-off-by: Jason Baron <address@hidden>
Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: address@hidden


  Commit: 127833eeea798b0863806341893cf575d2d29cf2
      
https://github.com/qemu/qemu/commit/127833eeea798b0863806341893cf575d2d29cf2
  Author: Jason Baron <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  virtio-net: use 64-bit values for feature flags

In prepartion for using some of the high order feature bits, make sure that
virtio-net uses 64-bit values everywhere.

Signed-off-by: Jason Baron <address@hidden>
Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: address@hidden
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9473939ed7addcaaeb8fde5c093918fb7fa0919c
      
https://github.com/qemu/qemu/commit/9473939ed7addcaaeb8fde5c093918fb7fa0919c
  Author: Jason Baron <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/net/virtio-net.c
    M include/hw/virtio/virtio-net.h

  Log Message:
  -----------
  virtio-net: add linkspeed and duplex settings to virtio-net

Although linkspeed and duplex can be set in a linux guest via 'ethtool -s',
this requires custom ethtool commands for virtio-net by default.

Introduce a new feature flag, VIRTIO_NET_F_SPEED_DUPLEX, which allows
the hypervisor to export a linkspeed and duplex setting. The user can
subsequently overwrite it later if desired via: 'ethtool -s'.

Linkspeed and duplex settings can be set as:
'-device virtio-net,speed=10000,duplex=full'

where speed is [0...INT_MAX], and duplex is ["half"|"full"].

Signed-off-by: Jason Baron <address@hidden>
Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: address@hidden
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 13b1881aacc7e5018773bd545bbaf8d5476699ee
      
https://github.com/qemu/qemu/commit/13b1881aacc7e5018773bd545bbaf8d5476699ee
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M Makefile
    R pc-bios/acpi-dsdt.aml

  Log Message:
  -----------
  acpi: remove unused acpi-dsdt.aml

SeaBIOS blob which is currently shipped with QEMU
doesn't need acpi-dsdt.aml nor is able to use it
and code that loaded it in QEMU was removed by
(commit 9fb7aaaf4c "pc: drop external DSDT loading")
in 2013.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 697155cdf13f63001ded45664f3ca093630f1f69
      
https://github.com/qemu/qemu/commit/697155cdf13f63001ded45664f3ca093630f1f69
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: replace pm object initialization with one-liner in acpi_get_pm_info()

next patch will need it before it gets to piix4/lpc branches
that initializes 'obj' now.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: b8e0f5898254ebb53f82225d40f4a58645279039
      
https://github.com/qemu/qemu/commit/b8e0f5898254ebb53f82225d40f4a58645279039
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M include/hw/acpi/acpi-defs.h

  Log Message:
  -----------
  acpi: reuse AcpiGenericAddress instead of Acpi20GenericAddress

Drop duplicate in form of Acpi20GenericAddress and reuse
AcpiGenericAddress.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: d0384d9020f1f52f90e5e5b1b6c9c04aac5f6756
      
https://github.com/qemu/qemu/commit/d0384d9020f1f52f90e5e5b1b6c9c04aac5f6756
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add build_append_gas() helper for Generic Address Structure

it will help to add Generic Address Structure to ACPI tables
without using packed C structures and avoid endianness
issues as API doesn't need an explicit conversion.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f8eaef67a3946cd483cbb77c50cf2ded55c0ddde
      
https://github.com/qemu/qemu/commit/f8eaef67a3946cd483cbb77c50cf2ded55c0ddde
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/isa/apm.c
    M include/hw/isa/apm.h

  Log Message:
  -----------
  acpi: move ACPI_PORT_SMI_CMD define to header it belongs to

ACPI_PORT_SMI_CMD is alias for APM_CNT_IOPORT,
so make it really one instead of duplicating its value.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 937d1b58714b4002dd0fb7c3573c42b1c017e61b
      
https://github.com/qemu/qemu/commit/937d1b58714b4002dd0fb7c3573c42b1c017e61b
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/i386/acpi-build.c
    M include/hw/acpi/acpi-defs.h

  Log Message:
  -----------
  pc: acpi: isolate FADT specific data into AcpiFadtData structure

move FADT data initialization out of fadt_setup() into dedicated
init_fadt_data() that will set common for pc/q35 values in
AcpiFadtData structure and acpi_get_pm_info() will complement
it with pc/q35 specific values initialization.

That will allow to get rid of fadt_setup() and generalize
build_fadt() so it could be easily extended for rev5 and
reused by ARM target.

While at it also move facs/dsdt/xdsdt offsets from build_fadt()
arg list into AcpiFadtData, as they belong to the same dataset.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 5d7a334f7c40dcb6aab3e4496ac826e813ccdb07
      
https://github.com/qemu/qemu/commit/5d7a334f7c40dcb6aab3e4496ac826e813ccdb07
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  pc: acpi: use build_append_foo() API to construct FADT

build_append_foo() API doesn't need explicit endianness
conversions which eliminates a source of errors and
it makes build_fadt() look like declarative definition of
FADT table in ACPI spec, which makes it easy to review.
Also it allows easily extending FADT to support other
revisions which will be used by follow up patches
where build_fadt() will be reused for ARM target.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 8612f8bd9fb667c62e9a56c67ab2e3af2798dd9c
      
https://github.com/qemu/qemu/commit/8612f8bd9fb667c62e9a56c67ab2e3af2798dd9c
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: move build_fadt() from i386 specific to generic ACPI source

It will be extended and reused by follow up patch for ARM target.

PS:
Since it's generic function now, don't patch FIRMWARE_CTRL, DSDT
fields if they don't point to tables since platform might not
provide them and use X_ variants instead if applicable.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: dd1b2037a38024b69e952c5ac41fd63b96e552ab
      
https://github.com/qemu/qemu/commit/dd1b2037a38024b69e952c5ac41fd63b96e552ab
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/arm/virt-acpi-build.c
    M include/hw/acpi/acpi-defs.h

  Log Message:
  -----------
  virt_arm: acpi: reuse common build_fadt()

Extend generic build_fadt() to support rev5.1 FADT
and reuse it for 'virt' board, it would allow to
phase out usage of AcpiFadtDescriptorRev5_1 and
later ACPI_FADT_COMMON_DEF.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 89d47c1927094edde494e533dc1c24e8ac34323c
      
https://github.com/qemu/qemu/commit/89d47c1927094edde494e533dc1c24e8ac34323c
  Author: Igor Mammedov <address@hidden>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M include/hw/acpi/acpi-defs.h
    M tests/bios-tables-test.c

  Log Message:
  -----------
  tests: acpi: don't read all fields in test_acpi_fadt_table()

there is no point to read fields here but not actually
checking them so drop it and read only header + dsdt/facs
addresses since it's needed later to fetch that tables.

With this cleanup we can get rid of AcpiFadtDescriptorRev3/
ACPI_FADT_COMMON_DEF which have no users left.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
Tested-by: Eric Auger <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 056c339d97b21269940b4846e8f0f65895317fed
      
https://github.com/qemu/qemu/commit/056c339d97b21269940b4846e8f0f65895317fed
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M include/standard-headers/linux/virtio_net.h

  Log Message:
  -----------
  standard-headers: update virtio_net.h

include speed/duplex fields

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1d0cad532ca1a5c65196e3fcd3904ef29b253b1c
      
https://github.com/qemu/qemu/commit/1d0cad532ca1a5c65196e3fcd3904ef29b253b1c
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/pci/pci.c
    M include/hw/pci/pci.h

  Log Message:
  -----------
  hw/pci: remove obsolete PCIDevice->init()

All PCI devices are now QOM'ified.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 52c95cae4e1299e0a2a9709093581a3a96473aa5
      
https://github.com/qemu/qemu/commit/52c95cae4e1299e0a2a9709093581a3a96473aa5
  Author: Haozhong Zhang <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/mem/pc-dimm.c
    M hw/ppc/spapr.c
    M include/hw/mem/pc-dimm.h
    M numa.c
    M qmp.c
    M stubs/qmp_pc_dimm.c

  Log Message:
  -----------
  pc-dimm: make qmp_pc_dimm_device_list() sort devices by address

Make qmp_pc_dimm_device_list() return sorted by start address
list of devices so that it could be reused in places that
would need sorted list*. Reuse existing pc_dimm_built_list()
to get sorted list.

While at it hide recursive callbacks from callers, so that:

  qmp_pc_dimm_device_list(qdev_get_machine(), &list);

could be replaced with simpler:

  list = qmp_pc_dimm_device_list();

* follow up patch will use it in build_srat()

Signed-off-by: Haozhong Zhang <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Acked-by: David Gibson <address@hidden> for ppc part
Reviewed-by: Bharata B Rao <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 6388e18de9c6842de9a1307b61d42c8e4549009c
      
https://github.com/qemu/qemu/commit/6388e18de9c6842de9a1307b61d42c8e4549009c
  Author: Haozhong Zhang <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hmp.c
    M hw/mem/pc-dimm.c
    M numa.c
    M qapi/misc.json

  Log Message:
  -----------
  qmp: distinguish PC-DIMM and NVDIMM in MemoryDeviceInfoList

It may need to treat PC-DIMM and NVDIMM differently, e.g., when
deciding the necessity of non-volatile flag bit in SRAT memory
affinity structures.

A new field 'nvdimm' is added to the union type MemoryDeviceInfo for
such purpose. Its type is currently PCDIMMDeviceInfo and will be
updated when necessary in the future.

It also fixes "info memory-devices"/query-memory-devices which
currently show nvdimm devices as dimm devices since
object_dynamic_cast(obj, TYPE_PC_DIMM) happily cast nvdimm to
TYPE_PC_DIMM which it's been inherited from.

Signed-off-by: Haozhong Zhang <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 848a1cc1e8b04301d40aef2a0e21a783b8dcc1c5
      
https://github.com/qemu/qemu/commit/848a1cc1e8b04301d40aef2a0e21a783b8dcc1c5
  Author: Haozhong Zhang <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  hw/acpi-build: build SRAT memory affinity structures for DIMM devices

ACPI 6.2A Table 5-129 "SPA Range Structure" requires the proximity
domain of a NVDIMM SPA range must match with corresponding entry in
SRAT table.

The address ranges of vNVDIMM in QEMU are allocated from the
hot-pluggable address space, which is entirely covered by one SRAT
memory affinity structure. However, users can set the vNVDIMM
proximity domain in NFIT SPA range structure by the 'node' property of
'-device nvdimm' to a value different than the one in the above SRAT
memory affinity structure.

In order to solve such proximity domain mismatch, this patch builds
one SRAT memory affinity structure for each DIMM device present at
boot time, including both PC-DIMM and NVDIMM, with the proximity
domain specified in '-device pc-dimm' or '-device nvdimm'.

The remaining hot-pluggable address space is covered by one or multiple
SRAT memory affinity structures with the proximity domain of the last
node as before.

Signed-off-by: Haozhong Zhang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: adae91ce32082f411f7a5a29845be82aa2da8272
      
https://github.com/qemu/qemu/commit/adae91ce32082f411f7a5a29845be82aa2da8272
  Author: Haozhong Zhang <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M tests/bios-tables-test.c

  Log Message:
  -----------
  tests/bios-tables-test: add test cases for DIMM proximity

QEMU now builds one SRAT memory affinity structure for each PC-DIMM
and NVDIMM device presented at boot time with the proximity domain
specified in the device option 'node', rather than only one SRAT
memory affinity structure covering the entire hotpluggable address
space with the proximity domain of the last node.

Add test cases on PC and Q35 machines with 4 proximity domains, and
one PC-DIMM and one NVDIMM attached to the 2nd and 3rd proximity
domains respectively. Check whether the QEMU-built SRAT tables match
with the expected ones.

The following ACPI tables need to be added for this test:
  tests/acpi-test-data/pc/APIC.dimmpxm
  tests/acpi-test-data/pc/DSDT.dimmpxm
  tests/acpi-test-data/pc/NFIT.dimmpxm
  tests/acpi-test-data/pc/SRAT.dimmpxm
  tests/acpi-test-data/pc/SSDT.dimmpxm
  tests/acpi-test-data/q35/APIC.dimmpxm
  tests/acpi-test-data/q35/DSDT.dimmpxm
  tests/acpi-test-data/q35/NFIT.dimmpxm
  tests/acpi-test-data/q35/SRAT.dimmpxm
  tests/acpi-test-data/q35/SSDT.dimmpxm
New APIC and DSDT are needed because of the multiple processors
configuration. New NFIT and SSDT are needed because of NVDIMM.

Signed-off-by: Haozhong Zhang <address@hidden>
Suggested-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: e0e5c8583dd0f3912113011187ed7ef32f84c057
      
https://github.com/qemu/qemu/commit/e0e5c8583dd0f3912113011187ed7ef32f84c057
  Author: Haozhong Zhang <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    A tests/acpi-test-data/pc/APIC.dimmpxm
    A tests/acpi-test-data/pc/DSDT.dimmpxm
    A tests/acpi-test-data/pc/NFIT.dimmpxm
    A tests/acpi-test-data/pc/SRAT.dimmpxm
    A tests/acpi-test-data/pc/SSDT.dimmpxm
    A tests/acpi-test-data/q35/APIC.dimmpxm
    A tests/acpi-test-data/q35/DSDT.dimmpxm
    A tests/acpi-test-data/q35/NFIT.dimmpxm
    A tests/acpi-test-data/q35/SRAT.dimmpxm
    A tests/acpi-test-data/q35/SSDT.dimmpxm

  Log Message:
  -----------
  test/acpi-test-data: add ACPI tables for dimmpxm test

Reviewers can use ACPI tables in this patch to run
test_acpi_{piix4,q35}_tcg_dimm_pxm cases.

Signed-off-by: Haozhong Zhang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9578f8cc3e8bd71de8e3f543dc7b95644d64824e
      
https://github.com/qemu/qemu/commit/9578f8cc3e8bd71de8e3f543dc7b95644d64824e
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: add target to print generated files

This is helpful for automatic code analysis.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: db144f7000327a98a7ed0b32f1fc8615ad4ae740
      
https://github.com/qemu/qemu/commit/db144f7000327a98a7ed0b32f1fc8615ad4ae740
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M exec.c
    M trace-events

  Log Message:
  -----------
  migrate: Update ram_block_discard_range for shared

The choice of call to discard a block is getting more complicated
for other cases.   We use fallocate PUNCH_HOLE in any file cases;
it works for both hugepage and for tmpfs.
We use the DONTNEED for non-hugepage cases either where they're
anonymous or where they're private.

Care should be taken when trying other backing files.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f90bb71bfdaca6ece1696e194aad11fb8599ffba
      
https://github.com/qemu/qemu/commit/f90bb71bfdaca6ece1696e194aad11fb8599ffba
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M exec.c
    M include/exec/cpu-common.h

  Log Message:
  -----------
  qemu_ram_block_host_offset

Utility to give the offset of a host pointer within a RAMBlock
(assuming we already know it's in that RAMBlock)

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 2ce16640b4cc9ab9e7e6bde9e4264b102e0eb73d
      
https://github.com/qemu/qemu/commit/2ce16640b4cc9ab9e7e6bde9e4264b102e0eb73d
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M exec.c
    M include/exec/cpu-common.h
    M migration/postcopy-ram.c

  Log Message:
  -----------
  postcopy: use UFFDIO_ZEROPAGE only when available

Use a flag on the RAMBlock to state whether it has the
UFFDIO_ZEROPAGE capability, use it when it's available.

This allows the use of postcopy on tmpfs as well as hugepage
backed files.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1693c64c27a9af3fa0bb4093ab2ce12ec5bdb33f
      
https://github.com/qemu/qemu/commit/1693c64c27a9af3fa0bb4093ab2ce12ec5bdb33f
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h
    M vl.c

  Log Message:
  -----------
  postcopy: Add notifier chain

Add a notifier chain for postcopy with a 'reason' flag
and an opportunity for a notifier member to return an error.

Call it when enabling postcopy.

This will initially used to enable devices to declare they're unable
to postcopy and later to notify of devices of stages within postcopy.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9ccbfe14ddfce379ee24684b3648376b130293cd
      
https://github.com/qemu/qemu/commit/9ccbfe14ddfce379ee24684b3648376b130293cd
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.h
    M docs/interop/vhost-user.txt
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  postcopy: Add vhost-user flag for postcopy and check it

Add a vhost feature flag for postcopy support, and
use the postcopy notifier to check it before allowing postcopy.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: d3dff7a5a1e0a6eff963fabc4d06879d060f34ee
      
https://github.com/qemu/qemu/commit/d3dff7a5a1e0a6eff963fabc4d06879d060f34ee
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M contrib/libvhost-user/libvhost-user.h
    M docs/interop/vhost-user.txt
    M hw/virtio/vhost-user.c
    M migration/postcopy-ram.h
    M migration/savevm.c

  Log Message:
  -----------
  vhost-user: Add 'VHOST_USER_POSTCOPY_ADVISE' message

Wire up a notifier to send a VHOST_USER_POSTCOPY_ADVISE
message on an incoming advise.

Later patches will fill in the behaviour/contents of the
message.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: d6e47717b028f0404073d9c60f2fa50d79252333
      
https://github.com/qemu/qemu/commit/d6e47717b028f0404073d9c60f2fa50d79252333
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: Support sending fds back to qemu

Allow replies with fds (for postcopy)

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 2a84ffc0be7e54f2f4b76cb3ebfdde0b37bba9f0
      
https://github.com/qemu/qemu/commit/2a84ffc0be7e54f2f4b76cb3ebfdde0b37bba9f0
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M contrib/libvhost-user/libvhost-user.h

  Log Message:
  -----------
  libvhost-user: Open userfaultfd

Open a userfaultfd (on a postcopy_advise) and send it back in
the reply to the qemu for it to monitor.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 00fa4fc85b00f1a8a810068d158a7a66e88658eb
      
https://github.com/qemu/qemu/commit/00fa4fc85b00f1a8a810068d158a7a66e88658eb
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/migration.c
    M migration/migration.h
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h
    M migration/trace-events

  Log Message:
  -----------
  postcopy: Allow registering of fd handler

Allow other userfaultfd's to be registered into the fault thread
so that handlers for shared memory can get responses.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f82c11165ffaa1a8f3f0488fb4075a818a4efdaf
      
https://github.com/qemu/qemu/commit/f82c11165ffaa1a8f3f0488fb4075a818a4efdaf
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost+postcopy: Register shared ufd with postcopy

Register the UFD that comes in as the response to the 'advise' method
with the postcopy code.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3
      
https://github.com/qemu/qemu/commit/6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M contrib/libvhost-user/libvhost-user.h
    M docs/interop/vhost-user.txt
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c
    M migration/postcopy-ram.h
    M migration/savevm.c

  Log Message:
  -----------
  vhost+postcopy: Transmit 'listen' to slave

Notify the vhost-user slave on reception of the 'postcopy-listen'
event from the source.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 55d754b307f6e10503dcf2e2136e6e0aef8c80f5
      
https://github.com/qemu/qemu/commit/55d754b307f6e10503dcf2e2136e6e0aef8c80f5
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  postcopy+vhost-user: Split set_mem_table for postcopy

Split the set_mem_table routines in both qemu and libvhost-user
because the postcopy versions are going to be quite different
once changes in the later patches are added. However, this patch
doesn't produce any functional change, just the split.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1cba9f6e662d0f7609c5e6a4cf66e8b0b1e601aa
      
https://github.com/qemu/qemu/commit/1cba9f6e662d0f7609c5e6a4cf66e8b0b1e601aa
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/ram.c
    M migration/ram.h

  Log Message:
  -----------
  migration/ram: ramblock_recv_bitmap_test_byte_offset

Utility for testing the map when you already know the offset
in the RAMBlock.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 51a5d6e5b20077c1657593a60b300f611ab7049f
      
https://github.com/qemu/qemu/commit/51a5d6e5b20077c1657593a60b300f611ab7049f
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user+postcopy: Register new regions with the ufd

When new regions are sent to the client using SET_MEM_TABLE, register
them with the userfaultfd.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9bb38019942c2f3f44b98f5830e369faec701e55
      
https://github.com/qemu/qemu/commit/9bb38019942c2f3f44b98f5830e369faec701e55
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M docs/interop/vhost-user.txt
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost+postcopy: Send address back to qemu

We need a better way, but at the moment we need the address of the
mappings sent back to qemu so it can interpret the messages on the
userfaultfd it reads.

This is done as a 3 stage set:
   QEMU -> client
      set_mem_table

   mmap stuff, get addresses

   client -> qemu
       here are the addresses

   qemu -> client
       OK - now you can use them

That ensures that qemu has registered the new addresses in it's
userfault code before the client starts accessing them.

Note: We don't ask for the default 'ack' reply since we've got our own.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 905125d0e20395188a090c16d38e38694fc43fc4
      
https://github.com/qemu/qemu/commit/905125d0e20395188a090c16d38e38694fc43fc4
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost+postcopy: Stash RAMBlock and offset

Stash the RAMBlock and offset for later use looking up
addresses.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 096bf4c8522fc0331fef78e46108244ab09480a0
      
https://github.com/qemu/qemu/commit/096bf4c8522fc0331fef78e46108244ab09480a0
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/migration.h
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h
    M migration/trace-events

  Log Message:
  -----------
  vhost+postcopy: Helper to send requests to source for shared pages

Provide a helper to be used by shared waker functions to request
shared pages from the source.
The last_rb pointer is moved into the incoming state since this
helper can update it as well as the main fault thread function.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c188c539275bbdc221c325ae9bc1c407353c4130
      
https://github.com/qemu/qemu/commit/c188c539275bbdc221c325ae9bc1c407353c4130
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c

  Log Message:
  -----------
  postcopy-ram: add a stub for postcopy_request_shared_page

This fixes the build on systems without userfaultfd.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 375318d03f3f3fca72606eea71240cb6a3536314
      
https://github.com/qemu/qemu/commit/375318d03f3f3fca72606eea71240cb6a3536314
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost+postcopy: Resolve client address

Resolve fault addresses read off the clients UFD into RAMBlock
and offset, and call back to the postcopy code to ask for the page.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 5efc35640359c808746ce28a44262020b523abeb
      
https://github.com/qemu/qemu/commit/5efc35640359c808746ce28a44262020b523abeb
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h
    M migration/trace-events

  Log Message:
  -----------
  postcopy: helper for waking shared

Provide a helper to send a 'wake' request on a userfaultfd for
a shared process.
The address in the clients address space is specified together
with the RAMBlock it was resolved to.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: d488b349a3496184db408ffe4e16e644dcf323f4
      
https://github.com/qemu/qemu/commit/d488b349a3496184db408ffe4e16e644dcf323f4
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h

  Log Message:
  -----------
  postcopy: postcopy_notify_shared_wake

Add a hook to allow a client userfaultfd to be 'woken'
when a page arrives, and a walker that calls that
hook for relevant clients given a RAMBlock and offset.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c07e36158fe342e3da8d10c34ba4fc82f28a5d1b
      
https://github.com/qemu/qemu/commit/c07e36158fe342e3da8d10c34ba4fc82f28a5d1b
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost+postcopy: Add vhost waker

Register a waker function in vhost-user code to be notified when
pages arrive or requests to previously mapped pages get requested.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: dedfb4b21af6c5deb71c3c08b663dafec98e9f31
      
https://github.com/qemu/qemu/commit/dedfb4b21af6c5deb71c3c08b663dafec98e9f31
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c
    M migration/trace-events

  Log Message:
  -----------
  vhost+postcopy: Call wakeups

Cause the vhost-user client to be woken up whenever:
  a) We place a page in postcopy mode
  b) We get a fault and the page has already been received

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0185cfb30b05af9966d60552976e672b827189ef
      
https://github.com/qemu/qemu/commit/0185cfb30b05af9966d60552976e672b827189ef
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: mprotect & madvises for postcopy

Clear the area and turn off THP.
PROT_NONE the area until after we've userfault advised it
to catch any unexpected changes.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c639187e3342cb14e100d14ce4854444f7ae98d5
      
https://github.com/qemu/qemu/commit/c639187e3342cb14e100d14ce4854444f7ae98d5
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c
    M contrib/libvhost-user/libvhost-user.h
    M docs/interop/vhost-user.txt
    M hw/virtio/vhost-user.c

  Log Message:
  -----------
  vhost-user: Add VHOST_USER_POSTCOPY_END message

This message is sent just before the end of postcopy to get the
client to stop using userfault since we wont respond to any more
requests.  It should close userfaultfd so that any other pages
get mapped to the backing file automatically by the kernel, since
at this point we know we've received everything.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 46343570c06e63b4499f619011df80f91349cd49
      
https://github.com/qemu/qemu/commit/46343570c06e63b4499f619011df80f91349cd49
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h

  Log Message:
  -----------
  vhost+postcopy: Wire up POSTCOPY_END notify

Wire up a call to VHOST_USER_POSTCOPY_END message to the vhost clients
right before we ask the listener thread to shutdown.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c1ece84e7c930a12eccff56c7482e4068ec00eb7
      
https://github.com/qemu/qemu/commit/c1ece84e7c930a12eccff56c7482e4068ec00eb7
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M hw/virtio/trace-events
    M hw/virtio/vhost.c

  Log Message:
  -----------
  vhost: Huge page align and merge

Align RAMBlocks to page size alignment, and adjust the merging code
to deal with partial overlap due to that alignment.

This is needed for postcopy so that we can place/fetch whole hugepages
when under userfault.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 29d8fa7f734ec4c55135e85e2d25d1650c8c5985
      
https://github.com/qemu/qemu/commit/29d8fa7f734ec4c55135e85e2d25d1650c8c5985
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M migration/postcopy-ram.c

  Log Message:
  -----------
  postcopy: Allow shared memory

Now that we have the mechanisms in here, allow shared memory in a
postcopy.

Note that QEMU can't tell who all the users of shared regions are
and thus can't tell whether all the users of the shared regions
have appropriate support for postcopy.  Those devices that explicitly
support shared memory (e.g. vhost-user) must check, but it doesn't
stop weirder configurations causing problems.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 4275cd99c64224a35ab105ec475602ed210c1285
      
https://github.com/qemu/qemu/commit/4275cd99c64224a35ab105ec475602ed210c1285
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M contrib/libvhost-user/libvhost-user.c

  Log Message:
  -----------
  libvhost-user: Claim support for postcopy

Tell QEMU we understand the protocol features needed for postcopy.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1dc61e7b37d339c42ec9bd7a7eec1ef2c22f351c
      
https://github.com/qemu/qemu/commit/1dc61e7b37d339c42ec9bd7a7eec1ef2c22f351c
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M docs/devel/migration.rst

  Log Message:
  -----------
  postcopy shared docs

Add some notes to the migration documentation for shared memory
postcopy.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: ed627b2ad37469eeba9e9ed5fecfe315df9ecc60
      
https://github.com/qemu/qemu/commit/ed627b2ad37469eeba9e9ed5fecfe315df9ecc60
  Author: Peter Maydell <address@hidden>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M Makefile
    M contrib/libvhost-user/libvhost-user.c
    M contrib/libvhost-user/libvhost-user.h
    M docs/devel/migration.rst
    M docs/interop/vhost-user.txt
    M exec.c
    M hmp.c
    M hw/acpi/aml-build.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M hw/isa/apm.c
    M hw/mem/pc-dimm.c
    M hw/net/virtio-net.c
    M hw/pci/pci.c
    M hw/ppc/spapr.c
    M hw/virtio/trace-events
    M hw/virtio/vhost-user.c
    M hw/virtio/vhost.c
    M include/exec/cpu-common.h
    M include/hw/acpi/acpi-defs.h
    M include/hw/acpi/aml-build.h
    M include/hw/isa/apm.h
    M include/hw/mem/pc-dimm.h
    M include/hw/pci/pci.h
    M include/hw/virtio/virtio-net.h
    A include/standard-headers/linux/ethtool.h
    A include/standard-headers/linux/kernel.h
    A include/standard-headers/linux/sysinfo.h
    M migration/migration.c
    M migration/migration.h
    M migration/postcopy-ram.c
    M migration/postcopy-ram.h
    M migration/ram.c
    M migration/ram.h
    M migration/savevm.c
    M migration/trace-events
    M numa.c
    R pc-bios/acpi-dsdt.aml
    M qapi/misc.json
    M qmp.c
    M scripts/update-linux-headers.sh
    M stubs/qmp_pc_dimm.c
    A tests/acpi-test-data/pc/APIC.dimmpxm
    A tests/acpi-test-data/pc/DSDT.dimmpxm
    A tests/acpi-test-data/pc/NFIT.dimmpxm
    A tests/acpi-test-data/pc/SRAT.dimmpxm
    A tests/acpi-test-data/pc/SSDT.dimmpxm
    A tests/acpi-test-data/q35/APIC.dimmpxm
    A tests/acpi-test-data/q35/DSDT.dimmpxm
    A tests/acpi-test-data/q35/NFIT.dimmpxm
    A tests/acpi-test-data/q35/SRAT.dimmpxm
    A tests/acpi-test-data/q35/SSDT.dimmpxm
    M tests/bios-tables-test.c
    M trace-events
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

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 <address@hidden>

# gpg: Signature made Tue 20 Mar 2018 14:40:43 GMT
# gpg:                using RSA key 281F0DB8D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>"
# gpg:                 aka "Michael S. Tsirkin <address@hidden>"
# 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 <address@hidden>

# Conflicts:
#       scripts/update-linux-headers.sh


Compare: https://github.com/qemu/qemu/compare/4aafb1b192e5...ed627b2ad374

reply via email to

[Prev in Thread] Current Thread [Next in Thread]