[libvirt] [PATCH] Do a correct format mapping of partitions 2
Daniel P. Berrange
berrange at redhat.com
Mon Jul 6 14:17:02 UTC 2009
On Mon, Jul 06, 2009 at 04:07:32PM +0200, Henrik Persson E wrote:
>
> Hi,
>
> Just to follow up this issue, I haven't found any way to get this info
> from standard parted :(
Your code was getting the raw MS-Dos partition type. This isn't
really needed by libvirt, and indeed we do need to work with
partition tables that aren't MS-Dos format, eg GPT. As an alternative
it looks like we ought to be able to get enough data for libvirt's
needs by looking at a combo of the PED_PARTITION_RAID/PED_PARTITION_LVM
flags, the 'fs_type' field of PedPartition.
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