qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5f2585: virtio-blk: advertise F_WCE (F_FLUSH)


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 5f2585: virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_...
Date: Fri, 13 Dec 2019 13:15:12 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5f2585772fff7ada93cb6691c51603451228a09c
      
https://github.com/qemu/qemu/commit/5f2585772fff7ada93cb6691c51603451228a09c
  Author: Evgeny Yakovlev <address@hidden>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M hw/arm/virt.c
    M hw/block/virtio-blk.c
    M hw/core/machine.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ppc/spapr.c
    M hw/s390x/s390-virtio-ccw.c
    M include/hw/boards.h
    M include/hw/virtio/virtio-blk.h

  Log Message:
  -----------
  virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_WCE is advertised

Virtio spec 1.1 (and earlier), 5.2.5.2 Driver Requirements: Device
Initialization:

"Devices SHOULD always offer VIRTIO_BLK_F_FLUSH, and MUST offer it if
they offer VIRTIO_BLK_F_CONFIG_WCE"

Currently F_CONFIG_WCE and F_WCE are not connected to each other.
Qemu will advertise F_CONFIG_WCE if config-wce argument is
set for virtio-blk device. And F_WCE is advertised only if
underlying block backend actually has it's caching enabled.

Fix this by advertising F_WCE if F_CONFIG_WCE is also advertised.

To preserve backwards compatibility with newer machine types make this
behaviour governed by "x-enable-wce-if-config-wce" virtio-blk-device
property and introduce hw_compat_4_2 with new property being off by
default for all machine types <= 4.2 (but don't introduce 4.3
machine type itself yet).

Signed-off-by: Evgeny Yakovlev <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 86d2a49b41832355ab50cf60cec0cd50680fc0e5
      
https://github.com/qemu/qemu/commit/86d2a49b41832355ab50cf60cec0cd50680fc0e5
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M qemu-options.hx

  Log Message:
  -----------
  iothread: document -object iothread on man page

Add -object iothread documentation to the man page, including references
to the query-iothread QMP command and qom-set syntax for adjusting
adaptive polling parameters at run-time.

Reported-by: Zhenyu Ye <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Message-Id: <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 084a398bf8aa7634738e6c6c0103236ee1b3b72f
      
https://github.com/qemu/qemu/commit/084a398bf8aa7634738e6c6c0103236ee1b3b72f
  Author: Peter Maydell <address@hidden>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M hw/arm/virt.c
    M hw/block/virtio-blk.c
    M hw/core/machine.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ppc/spapr.c
    M hw/s390x/s390-virtio-ccw.c
    M include/hw/boards.h
    M include/hw/virtio/virtio-blk.h
    M qemu-options.hx

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into 
staging

Pull request

# gpg: Signature made Fri 13 Dec 2019 14:32:11 GMT
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>" [full]
# gpg:                 aka "Stefan Hajnoczi <address@hidden>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
  iothread: document -object iothread on man page
  virtio-blk: advertise F_WCE (F_FLUSH) if F_CONFIG_WCE is advertised

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


Compare: https://github.com/qemu/qemu/compare/4148d142a8cb...084a398bf8aa



reply via email to

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