diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-07-06 10:48:01 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-07-06 10:48:01 -0500 |
commit | 5efb397f877fc3002c8bc764f4656f4761bd965d (patch) | |
tree | 4ef1809f16a7f30f237840cdbfc5521afd4e8316 /block_int.h | |
parent | fb787f81e749fde8c74548f9db1472eb321b9a0c (diff) | |
parent | 33b1db1c8888b77e06c720ebef0482ed598eb384 (diff) |
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'block_int.h')
-rw-r--r-- | block_int.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/block_int.h b/block_int.h index a94b80152f..877e1e5943 100644 --- a/block_int.h +++ b/block_int.h @@ -119,8 +119,11 @@ struct BlockDriver { QEMUOptionParameter *create_options; - /* Returns number of errors in image, -errno for internal errors */ - int (*bdrv_check)(BlockDriverState* bs); + /* + * Returns 0 for completed check, -errno for internal errors. + * The check results are stored in result. + */ + int (*bdrv_check)(BlockDriverState* bs, BdrvCheckResult *result); void (*bdrv_debug_event)(BlockDriverState *bs, BlkDebugEvent event); |