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

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

 



Guido Günther wrote:
> On Thu, Oct 02, 2008 at 09:06:25PM +0100, Daniel P. Berrange wrote:
>> I think this needs to use the virDiskNameToIndex() method to
>> extract the index instead.
> Corrected pach attached. I don't know how devices are called when using
> xenner so I left that out.
>  -- Guido
> 
> 

There is actually a function in qemu_driver.c called
qemudDiskDeviceName that handles a lot of this already,
it's used for generating the connect/eject cdrom names.
It's probably best to reuse that.

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]