Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: enforce constraints on block size properties
Nicolae Mogoreanu <[email protected]> noticed that I/O requests can lead to QEMU crashes when the logical_block_size property is smaller than 512 bytes. Using the new "blocksize" property we can properly enforce constraints on the block size such that QEMU's block layer is able to operate correctly. Reported-by: Nicolae Mogoreanu <[email protected]> Reported-by: Michael Halcrow <[email protected]> Signed-off-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
- Loading branch information