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

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





在 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 linux ibm com>
Reviewed-by: Bjoern Walk <bwalk linux ibm com>
Reviewed-by: Boris Fiuczynski <fiuczy linux ibm com>
---
  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 redhat com>

during the previous round of reviews O:-)

Thanks!

--
Yi Min


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