- 22 12月, 2008 5 次提交
-
-
由 Daniel Veillard 提交于
* src/logging.h src/logging.c: add the infrastructure and internal APIs for logging, some of those APIs should be made public later * src/libvirt_sym.version.in: flag the internal APIs as such daniel
-
由 Daniel Veillard 提交于
and fix the indentation daniel
-
由 Jim Meyering 提交于
qemudCapsInitNUMA and umlCapsInitNUMA were identical, so this change factors them into a new function, virCapsInitNUMA, and puts it in nodeinfo.c. In addition to factoring out the duplicates, this change also adjusts that function definition (along with its macros) so that it works with Fedora 9's numactl version 1, and makes it so the code will work even if someone builds the kernel with CONFIG_NR_CPUS > 4096. Finally, also perform this NUMA initialization for the lxc and openvz drivers. * src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h". (virCapsInitNUMA): Rename from qemudCapsInitNUMA and umlCapsInitNUMA. (NUMA_MAX_N_CPUS): Define depending on NUMA API version. (n_bits, MASK_CPU_ISSET): Define, adjust, use uint64 rather than long. * src/nodeinfo.h: Include "capabilities.h". (virCapsInitNUMA): Declare it. * examples/domain-events/events-c/Makefile.am: * src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various compile/link-related variables. * src/qemu_conf.c: Include "nodeinfo.h". (qemudCapsInitNUMA): Remove duplicate code. Adjust caller. * src/uml_conf.c (umlCapsInitNUMA): Likewise. Include "nodeinfo.h". * src/lxc_conf.c: Include "nodeinfo.h". (lxcCapsInit): Perform NUMA initialization here, too. * src/openvz_conf.c (openvzCapsInit): And here. Include "nodeinfo.h". * src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd can link to this function.
-
由 Jim Meyering 提交于
-
由 Daniel P. Berrange 提交于
-
- 21 12月, 2008 1 次提交
-
-
由 Guido Günther 提交于
-
- 20 12月, 2008 2 次提交
-
-
由 Guido Günther 提交于
-
由 Guido Günther 提交于
-
- 19 12月, 2008 2 次提交
-
-
由 Richard W.M. Jones 提交于
(aozturk in #virt).
-
由 Guido Günther 提交于
-
- 18 12月, 2008 26 次提交
-
-
由 Guido Günther 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
-
由 Jim Meyering 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
* src/storage_backend_fs.c: Don't include <endian.h> or <byteswap.h>. (LV_BIG_ENDIAN, LV_LITTLE_ENDIAN): Define. Use those instead of __BIG_ENDIAN and __LITTLE_ENDIAN.
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
* qemud/Makefile.am: Ensure that the generated remote_protocol.c includes <config.h> first. * Makefile.maint (sc_require_config_h_first): New rule, so that "make syntax-check" enforces this. * .x-sc_require_config_h_first: New file. * Makefile.am (.x-sc_require_config_h_first): Add it. * qemud/remote_protocol.x: Don't include <config.h> here. * qemud/remote_protocol.c: Regenerate.
-
由 Jim Meyering 提交于
* src/util.c (virAsprintf): Remove trailing space. * src/util.h (virAsprintf): Use ATTRIBUTE_FORMAT. * HACKING (Printf-style functions): New section.
-
由 Daniel P. Berrange 提交于
-
由 Daniel Veillard 提交于
daniel
-
- 17 12月, 2008 3 次提交
-
-
由 Guido Günther 提交于
-
由 Jim Meyering 提交于
This change is required on some kernels due to the way a change in the kernel's CONFIG_NR_CPUS propagates through the numa library. * src/qemu_conf.c (qemudCapsInitNUMA): Pass numa_all_cpus_ptr->size/8 as the buffer-length-in-bytes in the call to numa_node_to_cpus, since that's what is required on second and subseqent calls. * src/uml_conf.c (umlCapsInitNUMA): Likewise.
-
由 Cole Robinson 提交于
-
- 16 12月, 2008 1 次提交
-
-
由 Guido Günther 提交于
-