diff options
author | 2015-01-19 17:12:55 -0500 | |
---|---|---|
committer | 2015-02-06 18:00:53 +0100 | |
commit | 728dacbda817b2ca259e9d337fab06bcf14e94a6 (patch) | |
tree | c2b7137760bea1deb16296e159ccda497918b9ed /qga/commands-posix.c | |
parent | Merge remote-tracking branch 'mreitz/block' into queue-block (diff) | |
download | qemu-728dacbda817b2ca259e9d337fab06bcf14e94a6.tar.xz qemu-728dacbda817b2ca259e9d337fab06bcf14e94a6.zip |
block/raw-posix.c: Fix raw_getlength() on Mac OS X block devices
This patch replaces the dummy code in raw_getlength() for block devices
on OS X, which always returned LLONG_MAX, with a real implementation
that returns the actual block device size.
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions