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

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



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 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 redhat com>

Jano

Attachment: signature.asc
Description: PGP signature


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