Re: [PATCH 02/17] virStorageSourceGetActualType: Change type of retval

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

 



On 5/23/22 3:08 PM, Michal Privoznik wrote:
The virStorageSourceGetActualType() function returns either
virStorageSource->type (which is of type virStorageType), or
virStorageSourcePoolDef->type, which really stores a value of the
same enum. Thus, the latter struct can be changed so that the
virStorageSourceGetActualType() function can return correct type
instead of generic int.

Signed-off-by: Michal Privoznik<mprivozn@xxxxxxxxxx>
---
  src/conf/storage_source_conf.c    |  2 +-
  src/conf/storage_source_conf.h    |  4 ++--
  src/libxl/libxl_conf.c            |  2 +-
  src/libxl/libxl_domain.c          |  2 +-
  src/libxl/xen_xl.c                |  4 ++--
  src/locking/domain_lock.c         |  2 +-
  src/qemu/qemu_block.c             | 12 ++++++------
  src/qemu/qemu_command.c           |  8 ++++----
  src/qemu/qemu_domain.c            |  4 ++--
  src/qemu/qemu_driver.c            |  2 +-
  src/qemu/qemu_migration.c         |  4 ++--
  src/qemu/qemu_snapshot.c          | 16 ++++++++--------
  src/storage_file/storage_source.c |  4 ++--
  13 files changed, 33 insertions(+), 33 deletions(-)

Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx>

--
Mit freundlichen Grüßen/Kind regards
   Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294





[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