[libvirt] [PATCH] Fix size reporting for disk pools without partitions
Daniel P. Berrange
berrange at redhat.com
Wed Aug 13 10:53:04 UTC 2008
On Tue, Aug 12, 2008 at 11:58:23PM -0400, Cole Robinson wrote:
> The attached patch updates parthelper to print size
> information for a disk device if it doesn't have any
> allocated partitions.
>
> The current code starts by requesting the first partition,
> then iterating from there. But if there is no first
> partition, that whole info reporting thing never happens :)
>
> Seems to produce desired results for partitioned and
> unpartitioned devices.
Ooh, nice one finding this bug. ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list