[libvirt] [PATCH v1 04/14] qemu: Move device alias assignment to separate functions

Martin Kletzander mkletzan at redhat.com
Thu Oct 19 09:55:48 UTC 2017


On Thu, Oct 19, 2017 at 10:10:59AM +0200, Michal Privoznik wrote:
>Let's move all the virAsprintf()-s into separate functions for
>better structure of the code. Later, when somebody wants to
>generate a device alias, all they need is to expose the function.
>

I'm just waiting for these functions to totally fail when we introduce a hotplug
of such device.  There could be a universal wrapper for these, but that's not
the scope of this patchset.

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171019/ff8e0b30/attachment-0001.sig>


More information about the libvir-list mailing list