summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-06-15 13:53:38 +0200
committerChristoph Hellwig <hch@brick.lst.de>2009-06-15 13:53:38 +0200
commit90babde0cad8a485e5f74a2113c0425c08395a47 (patch)
tree31ac0562b0dbdbe64bbd00448c5392ef38dfe9a3 /block.c
parent0e1d8f4c549e51fd19793a154862979fdc199477 (diff)
downloadqemu-90babde0cad8a485e5f74a2113c0425c08395a47.tar.gz
raw-posix: add a raw_open_common helper
raw_open and hdev_open contain the same basic logic. Add a new raw_open_common helper containing the guts of the open routine and call it from raw_open and hdev_open. We use the new open_flags field in BDRVRawState to allow passing additional open flags to raw_open_common from both. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions