qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5f4560: virtio: hide legacy features from mod


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5f4560: virtio: hide legacy features from modern guests
Date: Tue, 28 Jul 2015 11:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5f456073aa9ba54e421aa82dd38e4d40d0a0af85
      
https://github.com/qemu/qemu/commit/5f456073aa9ba54e421aa82dd38e4d40d0a0af85
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  virtio: hide legacy features from modern guests

NOTIFY_ON_EMPTY, ANY_LAYOUT and BAD are only valid on the legacy
interface.

Hide them from modern guests.

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


  Commit: 7882080388be5088e72c425b02223c02e6cb4295
      
https://github.com/qemu/qemu/commit/7882080388be5088e72c425b02223c02e6cb4295
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  virtio-serial: fix ANY_LAYOUT

Don't assume a specific layout for control messages.
Required by virtio 1.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Reviewed-by: Jason Wang <address@hidden>


  Commit: cd4bfbb20d957a480032e2626ef1188b62c74d00
      
https://github.com/qemu/qemu/commit/cd4bfbb20d957a480032e2626ef1188b62c74d00
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
    M hw/9pfs/virtio-9p.c

  Log Message:
  -----------
  virtio-9p: fix any_layout

virtio pci allows any device to have a modern interface,
this in turn requires ANY_LAYOUT support.
Fix up ANY_LAYOUT for virtio-9p.

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


  Commit: 09999a5f7fc8e3636feda4358a79a25a09467594
      
https://github.com/qemu/qemu/commit/09999a5f7fc8e3636feda4358a79a25a09467594
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/net/virtio-net.c
    M hw/scsi/virtio-scsi.c
    M include/hw/compat.h
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: set any_layout in virtio core

Exceptions:
    - virtio-blk
    - compat machine types

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


  Commit: 27462695cde2a2208b1ff8074c2e917b8203590b
      
https://github.com/qemu/qemu/commit/27462695cde2a2208b1ff8074c2e917b8203590b
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  virtio-pci: fix memory MR cleanup for modern

Each memory_region_add_subregion must be paired with
memory_region_del_subregion.

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


  Commit: 9d5b731dd2d64deb3bc798ef4e3c08603d54ae02
      
https://github.com/qemu/qemu/commit/9d5b731dd2d64deb3bc798ef4e3c08603d54ae02
  Author: Jason Wang <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/display/virtio-gpu.c
    M hw/input/virtio-input.c
    M hw/net/virtio-net.c
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio-rng.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: get_features() can fail

Signed-off-by: Jason Wang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>


  Commit: efb8206ca7f19f5a6ece1f2851a73a29de309b1e
      
https://github.com/qemu/qemu/commit/efb8206ca7f19f5a6ece1f2851a73a29de309b1e
  Author: Jason Wang <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  virtio-blk: fail get_features when both scsi and 1.0 were set

SCSI passthrough was no longer supported in virtio 1.0, so this patch
fail the get_features() when both 1.0 and scsi is set. And also only
advertise VIRTIO_BLK_F_SCSI for legacy virtio-blk device.

Signed-off-by: Jason Wang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>


  Commit: c9b11f971cfa1fd3eed716f62f4b835553b75490
      
https://github.com/qemu/qemu/commit/c9b11f971cfa1fd3eed716f62f4b835553b75490
  Author: Jason Wang <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device

Chapter 6.3 of spec said

"
Transitional devices MUST offer, and if offered by the device
transitional drivers MUST accept the following:

VIRTIO_F_ANY_LAYOUT (27)
"

So this patch only clear VIRTIO_F_LAYOUT for legacy device.

Cc: Stefan Hajnoczi <address@hidden>
Cc: Kevin Wolf <address@hidden>
Cc: address@hidden
Signed-off-by: Jason Wang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>


  Commit: 8ef3ea253b5aaaa00f3b9999f3ff19e74cfa26f8
      
https://github.com/qemu/qemu/commit/8ef3ea253b5aaaa00f3b9999f3ff19e74cfa26f8
  Author: Gal Hammer <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  acpi: fix pvpanic device is not shown in ui

Commit 2332333c added a _STA method that hides the device. The fact
that the device is not shown in the gui make it harder to install its
Windows' device.

https://bugzilla.redhat.com/show_bug.cgi?id=1238141

Signed-off-by: Gal Hammer <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>


  Commit: c147b5153e733a14fc65d2098e7036754c185ad1
      
https://github.com/qemu/qemu/commit/c147b5153e733a14fc65d2098e7036754c185ad1
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

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

  Log Message:
  -----------
  virtio: minor cleanup

There's no need for blk to set ANY_LAYOUT, it's
done by virtio core as necessary.

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


  Commit: 170f209d7848dc2f14b3f3dccc34a49558680d4d
      
https://github.com/qemu/qemu/commit/170f209d7848dc2f14b3f3dccc34a49558680d4d
  Author: Peter Maydell <address@hidden>
  Date:   2015-07-28 (Tue, 28 Jul 2015)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c
    M hw/9pfs/virtio-9p.c
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/display/virtio-gpu.c
    M hw/i386/acpi-build.c
    M hw/input/virtio-input.c
    M hw/net/virtio-net.c
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-rng.c
    M include/hw/compat.h
    M include/hw/virtio/virtio.h

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

virtio fixes for 2.4

Mostly virtio 1 spec compliance fixes.
We are unlikely to make it perfectly compliant in
the first release, but it seems worth it to try.

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

# gpg: Signature made Mon Jul 27 21:55:48 2015 BST using RSA key ID D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>"
# gpg:                 aka "Michael S. Tsirkin <address@hidden>"

* remotes/mst/tags/for_upstream:
  virtio: minor cleanup
  acpi: fix pvpanic device is not shown in ui
  virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device
  virtio-blk: fail get_features when both scsi and 1.0 were set
  virtio: get_features() can fail
  virtio-pci: fix memory MR cleanup for modern
  virtio: set any_layout in virtio core
  virtio-9p: fix any_layout
  virtio-serial: fix ANY_LAYOUT
  virtio: hide legacy features from modern guests

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


Compare: https://github.com/qemu/qemu/compare/8b89b3a8df0a...170f209d7848

reply via email to

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