Re: [PATCH v8 10/14] conf: Allocate/release 'uid' and 'fid' in PCI address

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

 





在 2018/11/13 下午10:29, Andrea Bolognani 写道:
On Thu, 2018-11-08 at 19:00 +0800, Yi Min Zhao wrote:
This patch adds new functions for reservation, assignment and release
to handle the uid/fid. If the uid/fid is defined in the domain XML,
they will be reserved directly in the collecting phase. If any of them
is not defined, we will find out an available value for them from the
zPCI address hashtable, and reserve them. For the hotplug case there
might not be a zPCI definition. So allocate and reserve uid/fid the
case. Assign if needed and reserve uid/fid for the defined case.

Signed-off-by: Yi Min Zhao <zyimin@xxxxxxxxxxxxx>
Reviewed-by: Bjoern Walk <bwalk@xxxxxxxxxxxxx>
Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx>
---
  src/conf/device_conf.c         |  16 +++
  src/conf/device_conf.h         |   3 +
  src/conf/domain_addr.c         | 244 +++++++++++++++++++++++++++++++++
  src/conf/domain_addr.h         |  12 ++
  src/libvirt_private.syms       |   5 +
  src/qemu/qemu_domain_address.c |  59 +++++++-
  6 files changed, 338 insertions(+), 1 deletion(-)
Somehow forgot to give my

   Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

during the previous round of reviews O:-)

Thanks!

--
Yi Min

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