qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Question about total_sectors in block/vpc.c


From: Lyu Mitnick
Subject: [Qemu-devel] Question about total_sectors in block/vpc.c
Date: Sun, 10 Apr 2011 00:51:30 +0800

Hell all,

I have take a look of block/vpc.c and meet a question in vpc_create(). At the line 
550, the code is:
total_sectors = options->value.n / 512;
I am wondering whether the size between total_sectors * 512 and options->value.n
would be discard.

Thanks

Mitnick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]