summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-06-07 15:51:28 +0200
committerKevin Wolf <kwolf@redhat.com>2016-06-08 10:21:09 +0200
commit515c2f431ebe561e69c57371b2c2217792b3b820 (patch)
treeba262ff553d5d4430cf29ef972c538151bd66db2 /exec.c
parentbf18bee547d19fde314e7b6b81f21f68b46c8a92 (diff)
downloadqemu-515c2f431ebe561e69c57371b2c2217792b3b820.zip
block: Don't emulate natively supported pwritev flags
Drivers that implement .bdrv_co_pwritev() get the flags passed as an argument to said function, but we also unconditionally emulate the flags anyway. We shouldn't do that. Fix this by clearing all flags that the driver supports natively after it returns from .bdrv_co_pwritev(). Fixes: 4df863f3 ('block: Make supported_write_flags a per-bds property') Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions