Commit Message

Note: 1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario.
2.) When "dd" command is issued in guest, if its option bs is set to a large value such as "bs=1024K", the result speed will slightly bigger than the limits.
For these problems, if you have nice thought, pls let us know.:)
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
block.c | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
block.h | 1 -
block_int.h | 29 ++++++
3 files changed, 323 insertions(+), 9 deletions(-)