libvirt/src/bhyve
Yi Min Zhao 28831e1f1e conf: Introduce address caching for PCI extensions
This patch provides a caching mechanism for the device address
extensions uid and fid on S390. For efficient sparse address allocation,
we introduce two hash tables for uid/fid which hold the address set
information per domain. Also in order to improve performance of
searching available value, we introduce our own callbacks for the two
hashtables. In this way, uid/fid is saved in hash key and hash value
could be any non-NULL pointer due to no operation on hash value. That is
also the reason why we don't introduce hash value free callback.

Signed-off-by: Yi Min Zhao <zyimin@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2018-11-15 12:32:18 +01:00
..
bhyve_capabilities.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
bhyve_capabilities.h bhyve: Add CPU topology support 2018-06-07 19:26:26 +04:00
bhyve_command.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
bhyve_command.h bhyve: Support /domain/bootloader configuration for non-FreeBSD guests. 2014-11-12 09:55:22 +01:00
bhyve_conf.c src: fix incorrect indentation in function body by checking first line 2018-09-17 13:29:00 +02:00
bhyve_conf.h bhyve: add config file support 2017-03-14 20:46:05 +04:00
bhyve_device.c conf: Introduce address caching for PCI extensions 2018-11-15 12:32:18 +01:00
bhyve_device.h bhyve: implement PCI address allocation 2014-06-13 19:25:27 +04:00
bhyve_domain.c conf: Pass config.priv to xmlopt->privateData.alloc 2017-07-25 17:02:27 +02:00
bhyve_domain.h bhyve: add virBhyveDriverCreateXMLConf 2017-01-30 20:48:42 +04:00
bhyve_driver.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
bhyve_driver.h bhyve: fix preprocessor indentation 2016-02-06 05:26:51 +03:00
bhyve_monitor.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
bhyve_monitor.h drvbhyve: Automatically tear down guest domains on shutdown 2014-12-04 11:03:13 +01:00
bhyve_parse_command.c bhyve: add support for wiring memory 2018-05-13 13:38:23 +04:00
bhyve_parse_command.h bhyve: implement virConnectDomainXMLFromNative 2016-07-10 15:40:10 -04:00
bhyve_process.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
bhyve_process.h bhyve: implement domainShutdown 2016-05-05 08:04:01 +03:00
bhyve_utils.h port allocator: make used port bitmap global 2018-02-22 13:52:45 +01:00
bhyve.conf bhyve: add config file support 2017-03-14 20:46:05 +04:00
libvirtd_bhyve.aug bhyve: add config file support 2017-03-14 20:46:05 +04:00
Makefile.inc.am make: split bhyve driver build rules into bhyve/Makefile.inc.am 2018-02-23 13:14:26 +00:00
test_libvirtd_bhyve.aug.in bhyve: add config file support 2017-03-14 20:46:05 +04:00