Virtio support for endian-curious guests.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 34 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | virtio: allow byte swapping for vring and config accesshw/ include/ | +170 | 28 replies | |
| 2/7 | target-ppc: ppc64 targets can be either endian.configure target-ppc/ | +9 | 0 replies | |
| 3/7 | hw/net/virtio-net: use virtio wrappers to access headers.hw/ | +8 | 1 reply | |
| 4/7 | hw/net/virtio-balloon: use virtio wrappers to access page frame numbers.hw/ | +2 | 1 reply | |
| 5/7 | hw/block/virtio-blk: use virtio wrappers to access headers.hw/ | +18 | 2 replies | |
| 6/7 | hw/scsi/virtio-scsi: use virtio wrappers to access headers.hw/ | +17 | 1 reply | |
| 7/7 | hw/char/virtio-serial-bus: use virtio wrappers to access headers.hw/ | +18 | 1 reply | |
| 7/7 | patch virtio-serial-biendian.patchhw/ | +18 | 0 replies |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Anthony Liguori |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/7] Virtio support for endian-curious guests.
Virtio is currently defined as "guest-endian", but that's a slippery concept when the target can change endian. In particular, virtio devices fail on little-endian powerpc 64.
Feedback welcome!
Rusty.
Rusty Russell (7):
virtio: allow byte swapping for vring and config access
target-ppc: ppc64 targets can be either endian. hw/net/virtio-net: use virtio wrappers to access headers. hw/net/virtio-balloon: use virtio wrappers to access page frame
numbers.
hw/block/virtio-blk: use virtio wrappers to access headers. hw/scsi/virtio-scsi: use virtio wrappers to access headers. hw/char/virtio-serial-bus: use virtio wrappers to access headers.
configure | 1 + hw/block/virtio-blk.c | 35 +++++----- hw/char/virtio-serial-bus.c | 34 +++++----- hw/net/virtio-net.c | 15 +++-- hw/scsi/virtio-scsi.c | 33 ++++----- hw/virtio/virtio-balloon.c | 3 +- hw/virtio/virtio.c | 46 +++++++++---- include/hw/virtio/virtio-access.h | 138 ++++++++++++++++++++++++++++++++++++++ target-ppc/misc_helper.c | 8 +++ 9 files changed, 242 insertions(+), 71 deletions(-) create mode 100644 include/hw/virtio/virtio-access.h
Signature · 1 line
1.8.1.2