diff options
author | Stefan Hajnoczi | 2013-04-05 11:32:22 +0200 |
---|---|---|
committer | Kevin Wolf | 2013-04-05 18:58:05 +0200 |
commit | 0775437fafc5c733564645a22f75490770bf41f7 (patch) | |
tree | 8ebcc8304fc7a3f26230683fc47186b76e227a4d /hw/xen_backend.h | |
parent | block: drop duplicated slice extension code (diff) | |
download | qemu-0775437fafc5c733564645a22f75490770bf41f7.tar.gz qemu-0775437fafc5c733564645a22f75490770bf41f7.tar.xz qemu-0775437fafc5c733564645a22f75490770bf41f7.zip |
block: clean up I/O throttling wait_time code
The wait_time variable is in seconds. Reflect this in a comment and use
NANOSECONDS_PER_SECOND instead of BLOCK_IO_SLICE_TIME * 10 (which
happens to have the right value).
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-By: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/xen_backend.h')
0 files changed, 0 insertions, 0 deletions