qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a40dce: virtio: basic structure for packed ri


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] a40dce: virtio: basic structure for packed ring
Date: Mon, 28 Oct 2019 07:37:13 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a40dcec9fcbf63bcdc013bb20970651b237203ef
      
https://github.com/qemu/qemu/commit/a40dcec9fcbf63bcdc013bb20970651b237203ef
  Author: Wei Xu <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/virtio/virtio.c

  Log Message:
  -----------
  virtio: basic structure for packed ring

Define packed ring structure according to Qemu nomenclature,
field data(wrap counter, etc) are also included.

Signed-off-by: Wei Xu <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Reviewed-by: Jens Freimann <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f90cda636d4d18f691d8e9ff386e222570ff6552
      
https://github.com/qemu/qemu/commit/f90cda636d4d18f691d8e9ff386e222570ff6552
  Author: Wei Xu <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/virtio/virtio.c

  Log Message:
  -----------
  virtio: device/driver area size calculation refactor for split ring

There is slight size difference between split/packed rings.

This is the refactor of split ring as well as a helper to expanding
device and driver area size calculation for packed ring.

Signed-off-by: Wei Xu <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Reviewed-by: Jens Freimann <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 4a0117cf6e04d568a1963540bc0fa133b4d09b33
      
https://github.com/qemu/qemu/commit/4a0117cf6e04d568a1963540bc0fa133b4d09b33
  Author: Eugenio Pérez <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  virtio: Free blk virqueues at unrealize()

The function virtio_del_queue was not called at unrealize() callback.

This was detected due to add an allocated element on the vq introduce
in future commits (used_elems) and running address sanitizer memory
leak detector.

Signed-off-by: Eugenio Pérez <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 522bbb191cec2ac799f4bd662b0fcf6f00dfc2ea
      
https://github.com/qemu/qemu/commit/522bbb191cec2ac799f4bd662b0fcf6f00dfc2ea
  Author: Eugenio Pérez <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio: Free rnd virqueue at unrealize()

The function virtio_del_queue was not called at unrealize() callback.

This was detected due to add an allocated element on the vq introduce
in future commits (used_elems) and running address sanitizer memory
leak detector.

Signed-off-by: Eugenio Pérez <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 86044b24e865fb9596ed77a4d0f3af8b90a088a1
      
https://github.com/qemu/qemu/commit/86044b24e865fb9596ed77a4d0f3af8b90a088a1
  Author: Jason Wang <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: basic packed virtqueue support

This patch implements basic support for the packed virtqueue. Compare
the split virtqueue which has three rings, packed virtqueue only have
one which is supposed to have better cache utilization and more
hardware friendly.

Please refer virtio specification for more information.

Signed-off-by: Wei Xu <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 683f7665679c1e9ef64183c3636b8e13ce012cdc
      
https://github.com/qemu/qemu/commit/683f7665679c1e9ef64183c3636b8e13ce012cdc
  Author: Jason Wang <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/virtio/virtio.c

  Log Message:
  -----------
  virtio: event suppression support for packed ring

This patch implements event suppression through device/driver
area. Please refer virtio specification for more information.

Signed-off-by: Wei Xu <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: dfea7930456656a9e8be21300635dfdda2ffac3f
      
https://github.com/qemu/qemu/commit/dfea7930456656a9e8be21300635dfdda2ffac3f
  Author: Jason Wang <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M hw/net/vhost_net.c

  Log Message:
  -----------
  vhost_net: enable packed ring support

Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Reviewed-by: Jens Freimann <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 74b3e46630446568aecb0be1c77c4875d7a52f6d
      
https://github.com/qemu/qemu/commit/74b3e46630446568aecb0be1c77c4875d7a52f6d
  Author: Jason Wang <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: add property to enable packed virtqueue

Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Eugenio Pérez <address@hidden>
Reviewed-by: Jens Freimann <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c42bf5f21043c86d50773220998b54ded091f779
      
https://github.com/qemu/qemu/commit/c42bf5f21043c86d50773220998b54ded091f779
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/virtio-blk-test.c

  Log Message:
  -----------
  tests/virtio-blk-test: read config space after feature negotiation

The VIRTIO Configuration Space cannot be accessed before device feature
bits have been read because a driver doesn't know the endianness until
it has checked VIRTIO_F_VERSION_1.

Fix this problem in preparation for VIRTIO 1.0 support.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 60ce3a40fc18423d6c3ba330e60ca03fc74f9d21
      
https://github.com/qemu/qemu/commit/60ce3a40fc18423d6c3ba330e60ca03fc74f9d21
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-mmio.c
    M tests/libqos/virtio-mmio.h

  Log Message:
  -----------
  libqos: read QVIRTIO_MMIO_VERSION register

There was no real virtio-mmio ABI change between Legacy and VIRTIO 1.0
except that the Version field was incremented from 1 to 2.

However, QEMU does not allow Legacy drivers to perform VIRTIO 1.0
operations like accessing 64-bit feature bits.  Since we will introduce
64-bit feature bit support we need a way to differentiate between
virtio-mmio Version 1 and 2 to avoid upsetting QEMU when we operate in
Legacy mode.

Stash away the Version field so later patches can change behavior
depending on the version.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: a9340358f4d5d0e8e0c7a3a23cb4e5b68334974c
      
https://github.com/qemu/qemu/commit/a9340358f4d5d0e8e0c7a3a23cb4e5b68334974c
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-mmio.c
    M tests/libqos/virtio-net.c
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio.c
    M tests/libqos/virtio.h
    M tests/virtio-blk-test.c

  Log Message:
  -----------
  libqos: extend feature bits to 64-bit

In VIRTIO 1.0 feature bits changed from 32-bit to 64-bit.  (In fact, the
transports allow even more feature bits but nothing uses more than 64
bits today.)

Add 64-bit feature bit support to virtio-mmio and virtio-pci.  This will
be necessary for VIRTIO 1.0 support.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: e73255be96bf435fe6bf9a5c196dcd7c76adb0da
      
https://github.com/qemu/qemu/commit/e73255be96bf435fe6bf9a5c196dcd7c76adb0da
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/virtio-scsi-test.c

  Log Message:
  -----------
  virtio-scsi-test: add missing feature negotiation

VIRTIO Device Initialization requires feature negotiation.  Currently
virtio-scsi-test.c is non-compliant.

libqos tests acknowledge all feature bits advertised by the device,
except VIRTIO_F_BAD_FEATURE (which devices use to detect broken
drivers!) and VIRTIO_RING_F_EVENT_IDX (which is not implemented in
libqos and accepting it would break notifications).

Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Thomas Huth" <address@hidden>


  Commit: 36d27d2120979db239230bb440c03d41dbe75165
      
https://github.com/qemu/qemu/commit/36d27d2120979db239230bb440c03d41dbe75165
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/virtio-blk-test.c

  Log Message:
  -----------
  tests/virtio-blk-test: set up virtqueue after feature negotiation

VIRTIO Device Initialization requires that feature negotiation has
completed before virtqueues are set up.  This makes sense because the
driver must know whether it is operating in Legacy or VIRTIO 1.0 mode
before it can access vring fields with the correct endianness.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: c5bd6d02e6eb6ae868abbcbeb5c3a3be8c5379a5
      
https://github.com/qemu/qemu/commit/c5bd6d02e6eb6ae868abbcbeb5c3a3be8c5379a5
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-9p.c

  Log Message:
  -----------
  libqos: add missing virtio-9p feature negotiation

VIRTIO Device Initialization requires feature negotiation.  The libqos
virtio-9p driver lacks feature negotiation and is therefore
non-compliant.

libqos tests acknowledge all feature bits advertised by the device,
except VIRTIO_F_BAD_FEATURE (which devices use to detect broken
drivers!) and VIRTIO_RING_F_EVENT_IDX (which is not implemented in
libqos and accepting it would break notifications).

Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Thomas Huth" <address@hidden>


  Commit: 56140fbb8f2bb717eb2670aa1056aeaefe8b0246
      
https://github.com/qemu/qemu/commit/56140fbb8f2bb717eb2670aa1056aeaefe8b0246
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio.c
    M tests/libqos/virtio.h

  Log Message:
  -----------
  libqos: enforce Device Initialization order

According to VIRTIO 1.1 "3.1.1 Driver Requirements: Device
Initialization", configuration space and virtqueues cannot be accessed
before features have been negotiated.  Enforce this requirement.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>


  Commit: c0f79698ed562814158d9652a29e77c97cc074f6
      
https://github.com/qemu/qemu/commit/c0f79698ed562814158d9652a29e77c97cc074f6
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio.c

  Log Message:
  -----------
  libqos: implement VIRTIO 1.0 FEATURES_OK step

Device initialization has an extra step in VIRTIO 1.0.  The FEATURES_OK
status bit is set to indicate that feature negotiation has completed.
The driver then reads the status register again to check that the device
agrees with the final features.

Implement this step as part of qvirtio_set_features() instead of
introducing a separate function.  This way all existing code works
without modifications.

The check in qvirtio_set_driver_ok() needs to be updated because
FEATURES_OK will be set for VIRTIO 1.0 devices.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Thomas Huth" <address@hidden>


  Commit: bccd82b4073b7242876480d7f4d93bd281feb548
      
https://github.com/qemu/qemu/commit/bccd82b4073b7242876480d7f4d93bd281feb548
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-mmio.c
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio.c
    M tests/libqos/virtio.h
    M tests/virtio-blk-test.c

  Log Message:
  -----------
  libqos: access VIRTIO 1.0 vring in little-endian

VIRTIO 1.0 uses little-endian for the vring.  Legacy VIRTIO uses guest
endianness.  Adjust the code to handle both.

Note that qvirtio_readq() is not defined because it has no users.  All
the other accessors are really needed.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: a32a028aa702d7bcee0cd19a588d04d15a4437e1
      
https://github.com/qemu/qemu/commit/a32a028aa702d7bcee0cd19a588d04d15a4437e1
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/pci.c
    M tests/libqos/pci.h

  Log Message:
  -----------
  libqos: add iteration support to qpci_find_capability()

VIRTIO 1.0 PCI devices have multiple PCI_CAP_ID_VNDR capabilities so we
need a way to iterate over them.  Extend qpci_find_capability() to take
the last address.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
--
v3:
 * Document qpci_find_capability()
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 1e59a866100caf205782334bf7f7a40f28fd23be
      
https://github.com/qemu/qemu/commit/1e59a866100caf205782334bf7f7a40f28fd23be
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-mmio.c
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio.h

  Log Message:
  -----------
  libqos: pass full QVirtQueue to set_queue_address()

Instead of just passing the vring page frame number, pass the full
QVirtQueue.  This will allow the VIRTIO 1.0 transport to program the
fine-grained vring address registers in the future.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Sergio Lopez <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 957d8d1d06fa15e1db50166d17a4fe9094f7fec3
      
https://github.com/qemu/qemu/commit/957d8d1d06fa15e1db50166d17a4fe9094f7fec3
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h

  Log Message:
  -----------
  libqos: add MSI-X callbacks to QVirtioPCIDevice

The MSI-X vectors are programmed differently in the VIRTIO 1.0 and
Legacy interfaces.  Introduce callbacks so different implementations can
be used depending on the interface version.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Sergio Lopez <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: e56536bc8b897efdf069c25e68202e521cdcbb49
      
https://github.com/qemu/qemu/commit/e56536bc8b897efdf069c25e68202e521cdcbb49
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h

  Log Message:
  -----------
  libqos: expose common virtqueue setup/cleanup functions

The VIRTIO 1.0 code will need to perform additional steps but it will
reuse the common virtqueue setup/cleanup code.  Make these functions
public.

Make sure to invoke callbacks via QVirtioBus instead of directly calling
the virtio-pci Legacy versions of these functions.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Sergio Lopez <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f17429e545dae46fbe85eebd89fec4e720a1e241
      
https://github.com/qemu/qemu/commit/f17429e545dae46fbe85eebd89fec4e720a1e241
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h

  Log Message:
  -----------
  libqos: make the virtio-pci BAR index configurable

The Legacy virtio-pci interface always uses BAR 0.  VIRTIO 1.0 may need
to use a different BAR index, so make it configurable.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9598f9e4023cc4b0f1f4c4964e4d0debc30cc77c
      
https://github.com/qemu/qemu/commit/9598f9e4023cc4b0f1f4c4964e4d0debc30cc77c
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h

  Log Message:
  -----------
  libqos: extract Legacy virtio-pci.c code

The current libqos virtio-pci.c code implements the VIRTIO Legacy
interface.  Extract existing code in preparation for VIRTIO 1.0 support.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Sergio Lopez <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: d08f68b8e858fc761e88ae66349b6eab1235e3fe
      
https://github.com/qemu/qemu/commit/d08f68b8e858fc761e88ae66349b6eab1235e3fe
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M tests/Makefile.include
    A tests/libqos/virtio-pci-modern.c
    A tests/libqos/virtio-pci-modern.h
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h

  Log Message:
  -----------
  libqos: add VIRTIO PCI 1.0 support

Implement the VIRTIO 1.0 virtio-pci interface.  The main change here is
that the register layout is no longer a fixed layout in BAR 0.  Instead
we have to iterate of PCI Capabilities to find descriptions of where
various registers are located.  The vring registers are also more
fine-grained, allowing for more flexible vring layouts, but we don't
take advantage of that.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Sergio Lopez <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Thomas Huth <address@hidden>


  Commit: 909c548c539b4136e3abf2377980dad6274c4c2e
      
https://github.com/qemu/qemu/commit/909c548c539b4136e3abf2377980dad6274c4c2e
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

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

  Log Message:
  -----------
  virtio: drop unused virtio_device_stop_ioeventfd() function

virtio_device_stop_ioeventfd() has not been used since commit
310837de6c1e0badfd736b1b316b1698c53120a7 ("virtio: introduce
grab/release_ioeventfd to fix vhost") in 2016.

Nowadays ioeventfd is stopped implicitly by the virtio transport when
lifecycle events such as the VM pausing or device unplug occur.

Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9bb73502321d46f4d320fa17aa38201445783fc4
      
https://github.com/qemu/qemu/commit/9bb73502321d46f4d320fa17aa38201445783fc4
  Author: Peter Maydell <address@hidden>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/net/vhost_net.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-rng.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h
    M tests/Makefile.include
    M tests/libqos/pci.c
    M tests/libqos/pci.h
    M tests/libqos/virtio-9p.c
    M tests/libqos/virtio-mmio.c
    M tests/libqos/virtio-mmio.h
    M tests/libqos/virtio-net.c
    A tests/libqos/virtio-pci-modern.c
    A tests/libqos/virtio-pci-modern.h
    M tests/libqos/virtio-pci.c
    M tests/libqos/virtio-pci.h
    M tests/libqos/virtio.c
    M tests/libqos/virtio.h
    M tests/virtio-blk-test.c
    M tests/virtio-scsi-test.c

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

virtio: features, tests

libqos update with support for virtio 1.
Packed ring support for virtio.

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

# gpg: Signature made Fri 25 Oct 2019 12:47:59 BST
# gpg:                using RSA key 281F0DB8D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>" [full]
# gpg:                 aka "Michael S. Tsirkin <address@hidden>" [full]
# 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: (25 commits)
  virtio: drop unused virtio_device_stop_ioeventfd() function
  libqos: add VIRTIO PCI 1.0 support
  libqos: extract Legacy virtio-pci.c code
  libqos: make the virtio-pci BAR index configurable
  libqos: expose common virtqueue setup/cleanup functions
  libqos: add MSI-X callbacks to QVirtioPCIDevice
  libqos: pass full QVirtQueue to set_queue_address()
  libqos: add iteration support to qpci_find_capability()
  libqos: access VIRTIO 1.0 vring in little-endian
  libqos: implement VIRTIO 1.0 FEATURES_OK step
  libqos: enforce Device Initialization order
  libqos: add missing virtio-9p feature negotiation
  tests/virtio-blk-test: set up virtqueue after feature negotiation
  virtio-scsi-test: add missing feature negotiation
  libqos: extend feature bits to 64-bit
  libqos: read QVIRTIO_MMIO_VERSION register
  tests/virtio-blk-test: read config space after feature negotiation
  virtio: add property to enable packed virtqueue
  vhost_net: enable packed ring support
  virtio: event suppression support for packed ring
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/88c1fd4cba11...9bb73502321d



reply via email to

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