[libvirt] [PATCH] qemu_cgroup: Remove unnecessary virQEMUDriverPtr arguments

Ján Tomko jtomko at redhat.com
Wed Jul 26 14:42:48 UTC 2017


On Tue, Jul 25, 2017 at 05:49:43PM +0200, Martin Kletzander wrote:
>Since commit 2e6ecba1bcac, the pointer to the qemu driver is saved in
>domain object's private data and hence does not have to be passed as
>yet another parameter if domain object is already one of them.
>
>This is a first (example) patch of this kind of clean up, others will
>hopefully follow.
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/qemu/qemu_cgroup.c  | 33 ++++++++++++++-------------------
> src/qemu/qemu_cgroup.h  |  6 ++----
> src/qemu/qemu_process.c |  4 ++--
> 3 files changed, 18 insertions(+), 25 deletions(-)
>

ACK

Jan
-------------- 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/20170726/1c5a2b14/attachment-0001.sig>


More information about the libvir-list mailing list