Re: [PATCH 12/38] qemu: domain: Regenerate auth/enc secret aliases when restoring status XML

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

 




On 05/30/2018 08:41 AM, Peter Krempa wrote:
> Previously we did not store the aliases but rather re-generated them
> when unplug was necessary. This is very cumbersome since the knowledge
> when and which alias to use needs to be stored in the hotplug code as
> well.
> 
> While this patch will not strictly improve this situation since there
> still will be two places containing this code it at least will allow to
> remove the mess from the disk-unplug code and will prevent introducing
> more mess when adding blockdev support.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/qemu/qemu_domain.c                             | 90 +++++++++++++++++++++-
>  .../disk-secinfo-upgrade-out.xml                   | 16 ++++
>  2 files changed, 105 insertions(+), 1 deletion(-)
> 

Just dawned on me - what about hostdev/iscsi?  for alias saving et. al.
Patch 2 uses common API's to set up secrets for hostdev, but what would
store the alias for them?  Or is that in some future patch I haven't
read yet?

John

[...]

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux