aboutsummaryrefslogtreecommitdiff
path: root/qemu-keymap.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2019-04-04 14:10:15 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2019-07-09 14:10:31 -0500
commitf173a43a6daa7a21ddeb98ed7ee7eec3601c6747 (patch)
treedb9d7bfa6fba6bcd60ad9ed738f311eefeed2fb5 /qemu-keymap.c
parent2157938f7b4fd87340b13b3e74d0284cf178075c (diff)
megasas: fix mapped frame size
the current value of 1024 bytes (16 * MFI_FRAME_SIZE) we map is not enough to hold the maximum number of scatter gather elements we advertise. We actually need a maximum of 2048 bytes. This is 128 max sg elements * 16 bytes (sizeof (union mfi_sgl)). Cc: qemu-stable@nongnu.org Signed-off-by: Peter Lieven <pl@kamp.de> Message-Id: <20190404121015.28634-1-pl@kamp.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 2e56fbc87f6ec3cd56c37b01d313abd502b80d61) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions