diff options
author | Vladimir Sementsov-Ogievskiy | 2019-04-23 14:57:05 +0200 |
---|---|---|
committer | Kevin Wolf | 2019-06-04 16:55:58 +0200 |
commit | d93e57268892d555d7c71ec30b25276b0d8132b6 (patch) | |
tree | b8fc2dd5e290b52204aaabbcd3cf3f966834eaef /hw/virtio/virtio-rng.c | |
parent | block/qcow2-refcount: add trace-point to qcow2_process_discards (diff) | |
download | qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.tar.gz qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.tar.xz qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.zip |
block/io: bdrv_pdiscard: support int64_t bytes parameter
This fixes at least one overflow in qcow2_process_discards, which
passes 64bit region length to bdrv_pdiscard where bytes (or sectors in
the past) parameter is int since its introduction in 0b919fae.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-rng.c')
0 files changed, 0 insertions, 0 deletions