qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 74aae7: virtio: fix 1.0 virtqueue migration


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 74aae7: virtio: fix 1.0 virtqueue migration
Date: Wed, 05 Aug 2015 09:00:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 74aae7b22b8a67cf31937b2f4bdefe2881e799e9
      
https://github.com/qemu/qemu/commit/74aae7b22b8a67cf31937b2f4bdefe2881e799e9
  Author: Jason Wang <address@hidden>
  Date:   2015-08-05 (Wed, 05 Aug 2015)

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

  Log Message:
  -----------
  virtio: fix 1.0 virtqueue migration

1.0 does not requires physically-contiguous pages layout for a
virtqueue. So we could not infer avail and used from desc. This means
we need to migrate vring.avail and vring.used when host support virtio
1.0. This fixes malfunction of virtio 1.0 device after migration.

Cc: Michael S. Tsirkin <address@hidden>
Cc: Cornelia Huck <address@hidden>
Cc: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0175409df42c20257171df87657dd705558aa94d
      
https://github.com/qemu/qemu/commit/0175409df42c20257171df87657dd705558aa94d
  Author: Peter Maydell <address@hidden>
  Date:   2015-08-05 (Wed, 05 Aug 2015)

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

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

virtio fix for 2.4

Fixes migration in virtio 1 mode.
We still have a known bug with memory hotplug, it doesn't
look like we can fix that in time for 2.4.

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

# gpg: Signature made Wed 05 Aug 2015 15:57:39 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: fix 1.0 virtqueue migration

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


Compare: https://github.com/qemu/qemu/compare/e94867ed5f24...0175409df42c

reply via email to

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