Re: [Qemu-devel] [PATCH] vpc.c: Use get_option_parameter() does the search

2011-04-13 Thread Kevin Wolf
Am 13.04.2011 11:30, schrieb Mitnick Lyu: > Use get_option_parameter() to instead of duplicating the loop, and use > BDRV_SECTOR_SIZE to instead of 512 > > Signed-off-by: Mitnick Lyu Thanks, applied to the block branch. Kevin

[Qemu-devel] [PATCH] vpc.c: Use get_option_parameter() does the search

2011-04-13 Thread Mitnick Lyu
Use get_option_parameter() to instead of duplicating the loop, and use BDRV_SECTOR_SIZE to instead of 512 Signed-off-by: Mitnick Lyu --- block/vpc.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/block/vpc.c b/block/vpc.c index 7b025be..56865da 100644 --- a/bloc