[PATCH 12/17] qemu: domain: Extract preparation of hostdev specific data to a separate function

Ján Tomko jtomko at redhat.com
Mon Sep 14 13:45:52 UTC 2020

On a Friday in 2020, Peter Krempa wrote:
>Historically we've prepared secrets for all objects in one place. This
>doesn't make much sense and it's semantically more appealing to prepare
>everything for a single device type in one place.
>Move the setup of the (iSCSI|SCSI) hostdev secrets into a new function
>which will be used to setup other things as well in the future.
>This is a similar approach we do for disks.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_domain.c  | 59 ++++++++++++++++++++++++++++++++++++-----
> src/qemu/qemu_domain.h  |  4 +++
> src/qemu/qemu_hotplug.c |  2 +-
> src/qemu/qemu_process.c | 21 +++++++++++++++
> 4 files changed, 78 insertions(+), 8 deletions(-)

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

-------------- 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/20200914/9d432b3e/attachment-0001.sig>

More information about the libvir-list mailing list