[libvirt] [PATCH 5/5] create storage volumes, take 2

2009-06-26 Thread Henrik Persson
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

Re: [libvirt] [PATCH 5/5] create storage volumes

2009-06-25 Thread Daniel P. Berrange
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

RE: [libvirt] [PATCH 5/5] create storage volumes

2009-06-25 Thread Henrik Persson E
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

Re: [libvirt] [PATCH 5/5] create storage volumes

2009-06-25 Thread Daniel P. Berrange
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

[libvirt] [PATCH 5/5] create storage volumes

2009-06-24 Thread Henrik Persson
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