Re: [libvirt] [PATCH] storage: Disallow wiping an extended disk partition

2015-06-15 Thread John Ferlan
On 06/15/2015 06:12 AM, Michal Privoznik wrote: > On 10.06.2015 00:19, John Ferlan wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1225694 >> >> Check if the disk partition to be wiped is the extended partition, if >> so then disallow it. Do this via changing the wipeVol backend to check >>

Re: [libvirt] [PATCH] storage: Disallow wiping an extended disk partition

2015-06-15 Thread Michal Privoznik
On 10.06.2015 00:19, John Ferlan wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1225694 > > Check if the disk partition to be wiped is the extended partition, if > so then disallow it. Do this via changing the wipeVol backend to check > the volume before passing to the common virStorageBacke

[libvirt] [PATCH] storage: Disallow wiping an extended disk partition

2015-06-09 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1225694 Check if the disk partition to be wiped is the extended partition, if so then disallow it. Do this via changing the wipeVol backend to check the volume before passing to the common virStorageBackendVolWipeLocal Signed-off-by: John Ferlan --- s