diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-14 15:57:06 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-05 14:54:40 +0200 |
commit | 1fc86bf963a0617bc9eabfa6c14dbca76cd57976 (patch) | |
tree | 25d43bed8c5b7b2e02dd8d275145d252455e31ed /hw/vga_int.h | |
parent | 02fda01c3024463e561820afb0ba09daba4014d9 (diff) |
block: enforce constraints on block size properties
Nicolae Mogoreanu <mogo@google.com> 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 <mogo@google.com>
Reported-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/vga_int.h')
0 files changed, 0 insertions, 0 deletions