Re: [libvirt] [PATCH] Don't squash file format on volume refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel P. Berrange wrote:
> On Thu, Apr 02, 2009 at 02:01:02PM -0400, Cole Robinson wrote:
>> A while back, code was added to
>> storage_backend.c:virStorageBackendUpdateVolTargetInfoFD to try to
>> determine the volume format for iscsi volumes. Unfortunately this
>> function is also called for refreshing file volumes, which has the
>> effect of setting the format as 'raw' whenever a volume is refreshed
>> (ex. after calling virsh vol-info).
>>
>> The attached patch moves the offending code into a wrapper function in
>> the scsi driver. I haven't played with the scsi support yet so this is
>> untested though it's largely code movement.
> 
> Ahhh, this is also what breaks the storage_backend_disk driver
> with it blowing away the partition types for each partition.
> 
> ACK
> 

Applied now.

Thanks,
Cole

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]