summary refs log tree commit diff stats
path: root/include/qapi/qmp/json-lexer.h
diff options
context:
space:
mode:
authorProgrammingkid <programmingkidx@gmail.com>2015-11-20 19:17:48 -0500
committerKevin Wolf <kwolf@redhat.com>2015-11-25 14:27:43 +0100
commit98caa5bc0083ed4fe4833addd3078b56ce2f6cfa (patch)
treeaaf4eaf1ff797ee530bbb6b6c94cebaedb0cacad /include/qapi/qmp/json-lexer.h
parent8e37ca6d0be8aae2887c167da783fd2d9536c962 (diff)
downloadfocaccia-qemu-98caa5bc0083ed4fe4833addd3078b56ce2f6cfa.tar.gz
focaccia-qemu-98caa5bc0083ed4fe4833addd3078b56ce2f6cfa.zip
raw-posix.c: Make GetBSDPath() handle caching options
Add support for caching options that can be specified from the command
line.

The CD-ROM raw char device bypasses the host page cache and therefore
has alignment requirements.  Alignment probing is necessary so only use
the raw char device if BDRV_O_NOCACHE is set.

This patch fixes -cdrom /dev/cdrom on Mac OS X hosts, where bdrv_read()
used to fail due to misaligned requests during image format probing.

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qapi/qmp/json-lexer.h')
0 files changed, 0 insertions, 0 deletions