[libvirt] Re: [PATCH 3/3] qemu: fix block stats for virtio and scsi

Guido Günther agx at sigxcpu.org
Sat Oct 11 13:27:04 UTC 2008


On Fri, Oct 10, 2008 at 06:05:37PM +0100, Daniel P. Berrange wrote:
> Sorry to mess up your patch, but I just committed the code to turn
> all linked lists into arrays. So you'll need to tweak this to do
>  
>   for (i = 0 ; i < vm->def->ndisks ; i++) 
>      if (STREQ(vm->def->disks[i]->dst))
>          break;
Fixed version attached. This one also addresses Cole's comment on the
error message.
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-support-virtio-and-scsi-disks-in-qemudDomainBlockSta.patch
Type: text/x-diff
Size: 3852 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081011/a48923d8/attachment-0001.bin>


More information about the libvir-list mailing list