[PATCH v1 09/34] qemu_domain_namespace.c: Rename qemuDomainAttachDeviceMknodData

Ján Tomko jtomko at redhat.com
Fri Jul 24 14:44:21 UTC 2020


On a Wednesday in 2020, Michal Privoznik wrote:
>This structure is going to be used from not only device attach
>code, but also when building the namespace. Moreover, the code
>lives in a separate file so the chances of clashing with another
>name are minimal.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_domain_namespace.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/src/qemu/qemu_domain_namespace.c b/src/qemu/qemu_domain_namespace.c
>index e385cda64a..40c4fb36cb 100644
>--- a/src/qemu/qemu_domain_namespace.c
>+++ b/src/qemu/qemu_domain_namespace.c
>@@ -1098,7 +1098,7 @@ qemuDomainNamespaceAvailable(qemuDomainNamespace ns G_GNUC_UNUSED)
> }
>
>
>-struct qemuDomainAttachDeviceMknodData {
>+struct qemuDomainMknodData {

qemuNamespaceMkondData would be more fitting.

>     virQEMUDriverPtr driver;
>     virDomainObjPtr vm;
>     const char *file;

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200724/61d3d0a4/attachment-0001.sig>


More information about the libvir-list mailing list