aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-net.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2020-03-24 12:42:33 -0500
committerMichael Roth <mdroth@linux.vnet.ibm.com>2020-06-22 12:52:29 -0500
commit60c21aa0171f316ab9351951b9dbdd889ab70712 (patch)
treeba8e3c1550ab19dbe993e7f82c15cd554f41e464 /hw/usb-net.c
parent5eca12bbada69fbef88a6557d79f016aaf3ff013 (diff)
downloadqemu-60c21aa0171f316ab9351951b9dbdd889ab70712.zip
qemu-60c21aa0171f316ab9351951b9dbdd889ab70712.tar.gz
qemu-60c21aa0171f316ab9351951b9dbdd889ab70712.tar.bz2
sheepdog: Consistently set bdrv_has_zero_init_truncate
block_int.h claims that .bdrv_has_zero_init must return 0 if .bdrv_has_zero_init_truncate does likewise; but this is violated if only the former callback is provided if .bdrv_co_truncate also exists. When adding the latter callback, it was mistakenly added to only one of the three possible sheepdog instantiations. Fixes: 1dcaf527 Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20200324174233.1622067-5-eblake@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> (cherry picked from commit ed049910637be991c88cc25c864115bc5b1e4dab) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions