libvirt/docs
Jim Meyering d010b68962 make NUMA-initialization code more portable and more robust
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.
2008-12-21 18:55:09 +00:00
..
devhelp look for devhelp.xsl in $(srcdir) 2008-12-12 09:47:14 +00:00
examples make NUMA-initialization code more portable and more robust 2008-12-21 18:55:09 +00:00
html Release of 0.5.0 2008-11-25 15:48:11 +00:00
storage
.cvsignore
.gitignore generate .gitignore files from .cvsignore ones 2008-10-17 10:03:15 +00:00
16favicon.png
32favicon.png
apibuild.py Release of 0.5.0 2008-11-25 15:48:11 +00:00
apps.html * docs/apps.html docs/apps.html.in: update monitoring apps section 2008-10-23 11:42:42 +00:00
apps.html.in * docs/apps.html docs/apps.html.in: update monitoring apps section 2008-10-23 11:42:42 +00:00
archdomain.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archdomain.html.in
architecture.fig
architecture.gif
architecture.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
architecture.html.in
archnetwork.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archnetwork.html.in
archnode.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archnode.html.in
archstorage.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archstorage.html.in
auth.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
auth.html.in
bindings.html Re-generate website docs 2008-11-21 12:54:51 +00:00
bindings.html.in Documentation cleanups. 2008-09-18 09:00:10 +00:00
bugs.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
bugs.html.in
ChangeLog.awk
ChangeLog.xsl
contact.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
contact.html.in
deployment.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
deployment.html.in
docs.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
docs.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
downloads.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
downloads.html.in
drivers.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drivers.html.in
drvlxc.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvlxc.html.in
drvopenvz.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvopenvz.html.in Add bridged network to openvz driver & add some openvz docs 2008-11-12 16:35:47 +00:00
drvqemu.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvqemu.html.in Fix three typos pointed out by Anton Protopopov 2008-07-08 17:44:56 +00:00
drvremote.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvremote.html.in
drvtest.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvtest.html.in
drvuml.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvuml.html.in Add an initial User Mode Linux Driver 2008-11-19 16:58:23 +00:00
drvxen.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvxen.html.in
errors.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
errors.html.in
et.png
FAQ.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
FAQ.html.in
footer_corner.png
footer_pattern.png
format.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
format.html.in
formatcaps.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
formatcaps.html.in
formatdomain.html Re-generated doc 2008-12-21 17:26:21 +00:00
formatdomain.html.in docs/formatdomain.html.in: Fix documentation typo 2008-12-19 10:44:01 +00:00
formatnetwork.html Fix three typos pointed out by Anton Protopopov 2008-07-08 17:44:56 +00:00
formatnetwork.html.in Fix three typos pointed out by Anton Protopopov 2008-07-08 17:44:56 +00:00
formatnode.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
formatnode.html.in
formatstorage.html release of 0.5.1 2008-12-04 15:54:26 +00:00
formatstorage.html.in Fix documentation cut and paste errors, and a virsh typo. 2008-12-04 14:51:57 +00:00
generic.css
Goals syntax-check: enforce the no-cvs-keywords prohibition 2008-12-15 10:24:54 +00:00
hvsupport.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
hvsupport.html.in
index.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
index.html.in
index.py
intro.html
intro.html.in
java.html fix typos in docs 2008-08-08 10:24:14 +00:00
java.html.in fix typos in docs 2008-08-08 10:24:14 +00:00
library.xen
libvirHeader.png
libvirLogo.png
libvirt-api.xml Release of 0.5.0 2008-11-25 15:48:11 +00:00
libvirt-header-bg.png
libvirt-header-logo.png
libvirt-net-logical.fig
libvirt-net-logical.png
libvirt-net-physical.fig
libvirt-net-physical.png
libvirt-refs.xml Release of 0.5.0 2008-11-25 15:48:11 +00:00
libvirt.css
libvirt.rng Adding support for SDL fullscreen option 2008-12-11 11:44:30 +00:00
libvirtLogo.png
Libxml2-Logo-90x34.gif
madeWith.png
main.css
Makefile.am Handle HTML generation in the absence of XHTML1 DTDs 2008-08-20 13:16:29 +00:00
network.rng
newapi.xsl
news.html release of 0.5.1 2008-12-04 15:54:26 +00:00
news.html.in release of 0.5.1 2008-12-04 15:54:26 +00:00
news.xsl
node.fig
node.gif
page.xsl
pki_check.sh
python.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
python.html.in
relatedlinks.html * docs/relatedlinks.html docs/relatedlinks.html.in: add link 2008-10-29 15:34:12 +00:00
relatedlinks.html.in * docs/relatedlinks.html docs/relatedlinks.html.in: add link 2008-10-29 15:34:12 +00:00
remote.html
remote.html.in
search.php
site.xsl
sitemap.html Re-generate website docs 2008-11-21 12:54:51 +00:00
sitemap.html.in Add an initial User Mode Linux Driver 2008-11-19 16:58:23 +00:00
storage.html release of 0.5.1 2008-12-04 15:54:26 +00:00
storage.html.in Fix documentation cut and paste errors, and a virsh typo. 2008-12-04 14:51:57 +00:00
structures.fig
testdomfc4.xml Convert test driver to new domain XML apis 2008-07-11 16:41:27 +00:00
testdomfv0.xml
testnetdef.xml
testnetpriv.xml
testnode.xml Move the expected output data from virshdata/*.txt into virshtest.c. 2008-11-24 07:11:26 +00:00
testnodeinline.xml Convert test driver to new domain XML apis 2008-07-11 16:41:27 +00:00
uri.html Allow remote://hostname/ style URIs for automatic driver probe. Fix virGetVersion impl 2008-11-28 12:03:20 +00:00
uri.html.in Allow remote://hostname/ style URIs for automatic driver probe. Fix virGetVersion impl 2008-11-28 12:03:20 +00:00
virsh.pod docs/virsh.pod: typo fix 2008-12-18 06:48:13 +00:00
windows-cygwin-1.png
windows-cygwin-2.png
windows-cygwin-3.png
windows.html Documentation cleanups. 2008-09-18 09:00:10 +00:00
windows.html.in Documentation cleanups. 2008-09-18 09:00:10 +00:00