Searched hist:"543770 bd2e8fbaac286a947dee91675adb3215c7" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block.h | diff 543770bd2e8fbaac286a947dee91675adb3215c7 Thu Sep 06 04:37:09 CDT 2018 Alberto Garcia <berto@igalia.com> block: Allow changing 'detect-zeroes' on reopen
'detect-zeroes' is one of the basic BlockdevOptions available for all drivers, but it's not handled by bdrv_reopen_prepare(), so any attempt to change it results in an error:
(qemu) qemu-io virtio0 "reopen -o detect-zeroes=on" Cannot change the option 'detect-zeroes'
Since there's no reason why we shouldn't allow changing it and the implementation is simple let's just do it.
Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 543770bd2e8fbaac286a947dee91675adb3215c7 Thu Sep 06 04:37:09 CDT 2018 Alberto Garcia <berto@igalia.com> block: Allow changing 'detect-zeroes' on reopen
'detect-zeroes' is one of the basic BlockdevOptions available for all drivers, but it's not handled by bdrv_reopen_prepare(), so any attempt to change it results in an error:
(qemu) qemu-io virtio0 "reopen -o detect-zeroes=on" Cannot change the option 'detect-zeroes'
Since there's no reason why we shouldn't allow changing it and the implementation is simple let's just do it.
Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|