Here is a updated patch that defines a enum for mapping parition code to
parted's fs-type.
/Henrik
--- libvirt-0.6.4.patches/src/storage_conf.h 2009-06-23 18:05:39.054877000 +0200
+++ libvirt-0.6.4/src/storage_conf.h 2009-06-25 18:24:46.374696000 +0200
@@ -460,4 +460,22 @@ enum virStorageVolTypeD
On Thu, Jun 25, 2009 at 06:05:49PM +0200, Henrik Persson E wrote:
>
> Hi,
>
> Well it doesn't really do the trick, since it maps to "linux-lvm" and
> "linux-raid" which is not a valid fs-type for parted. But maybe I should
> update the enum to reflect the valid fs-types of parted if that was the
Original Message-
> From: Daniel P. Berrange [mailto:berra...@redhat.com]
> Sent: den 25 juni 2009 11:28
> To: Henrik Persson E
> Cc: libvirt-l...@redhat.com
> Subject: Re: [libvirt] [PATCH 5/5] create storage volumes
>
> On Wed, Jun 24, 2009 at 11:21:48AM +0200, Henrik Persso
On Wed, Jun 24, 2009 at 11:21:48AM +0200, Henrik Persson wrote:
> This patch does the last magic to be able to create storage volumes when
> using a disk as backend
> --- libvirt-0.6.4.patches/src/storage_backend_disk.c 2009-06-23
> 18:17:30.885038000 +0200
> +++ libvirt-0.6.4/src/storage_backe
This patch does the last magic to be able to create storage volumes when using
a disk as backend
--- libvirt-0.6.4.patches/src/storage_backend_disk.c 2009-06-23 18:17:30.885038000 +0200
+++ libvirt-0.6.4/src/storage_backend_disk.c 2009-06-24 10:08:23.499326000 +0200
@@ -381,47 +381,246 @@ virStora