SLOF/lib/libvirtio
Thomas Huth 6e925bbb1a libvirtio: Mark struct virtio_scsi_req_cmd as packed
The struct contains an uneven amount of bytes, so we should use
the "packed" attribute to avoid padding problems here. So far the
problems did not show up yet since the struct is filled by Forth
code only and QEMU seems to be quite forgiving about the length of
the descriptor, but anyway, let's better be safe than sorry here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2017-12-11 15:32:12 +11:00
..
Makefile Add virtio-serial device support 2016-10-13 10:47:05 +11:00
p9.c virtio-net: fix gcc warnings (-Wextra) 2016-02-08 16:40:38 +11:00
p9.h virtio-net: fix gcc warnings (-Wextra) 2016-02-08 16:40:38 +11:00
virtio-9p.c virtio: Remove global variables in block and 9p driver 2017-02-03 13:42:21 +11:00
virtio-9p.h virtio-net: fix gcc warnings (-Wextra) 2016-02-08 16:40:38 +11:00
virtio-blk.c virtio: Remove global variables in block and 9p driver 2017-02-03 13:42:21 +11:00
virtio-blk.h virtio: Implement block write support 2016-11-24 23:24:23 +11:00
virtio-internal.h virtio: 1.0 helper to read 16/32/64 bit value 2016-02-08 16:40:39 +11:00
virtio-net.c virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio-net.h virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio-scsi.c virtio-scsi: initialize vring avail queue buffers 2017-02-06 13:56:57 +11:00
virtio-scsi.h libvirtio: Mark struct virtio_scsi_req_cmd as packed 2017-12-11 15:32:12 +11:00
virtio-serial.c virtio-serial: Fix compile error 2016-10-19 09:52:45 +11:00
virtio-serial.h Add virtio-serial device support 2016-10-13 10:47:05 +11:00
virtio.c virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio.code virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio.h virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio.in virtio: Implement block write support 2016-11-24 23:24:23 +11:00