devAlias correct parsing

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

 



Hello,

I would be grateful if you help me with next thing:
I've successfully subscribed on VIR_DOMAIN_EVENT_ID_TRAY_CHANGE event in my application (QEMU based). It perfectly works and returns to me an device alias (e.g. "drive-scsi0-0-1-0"). Of course I can split this string by delimiter '-'. However, I've found private virDomainDefFindDevice function within libvirt and
seems that its make correct parsing. How can I use it in my code?

Thank you!

--
Regards,
Alexander Burluka

--
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]