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 Added all example storage XML files 2008-02-20 15:52:40 +00:00
.cvsignore Ignore python JIT file 2008-04-29 21:42:47 +00:00
.gitignore generate .gitignore files from .cvsignore ones 2008-10-17 10:03:15 +00:00
16favicon.png * docs/site.xsl docs/*.png docs/*.html: update the images from Diana, 2006-01-23 22:55:41 +00:00
32favicon.png * docs/site.xsl docs/*.png docs/*.html: update the images from Diana, 2006-01-23 22:55:41 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
architecture.fig * docs/architecture.* docs/*: added a section on the architecture 2005-12-21 16:59:34 +00:00
architecture.gif * docs/architecture.* docs/*: added a section on the architecture 2005-12-21 16:59:34 +00:00
architecture.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
architecture.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
archnetwork.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archnetwork.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
archnode.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archnode.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
archstorage.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
archstorage.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
auth.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
auth.html.in Fix polkit docs 2008-05-08 11:52:21 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
ChangeLog.awk Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
ChangeLog.xsl Adapt layout to workaround IE6 bugs 2008-04-25 16:23:51 +00:00
contact.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
contact.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
deployment.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
deployment.html.in Change libvirtd description from qemu only to various VM(i.e. Xen, LXC) 2008-05-15 06:12:32 +00:00
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 * proxy/libvirt_proxy.c and docs/* typo fixing 2008-04-24 09:17:29 +00:00
drivers.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drivers.html.in * proxy/libvirt_proxy.c and docs/* typo fixing 2008-04-24 09:17:29 +00:00
drvlxc.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvlxc.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
drvtest.html Re-generate website docs 2008-11-21 12:54:51 +00:00
drvtest.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
errors.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
errors.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
et.png * docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl 2008-04-28 08:29:35 +00:00
FAQ.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
FAQ.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
footer_corner.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
footer_pattern.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
format.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
format.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
formatcaps.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
formatcaps.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 virDomainMemoryPeek API 2008-06-10 10:43:28 +00:00
index.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
index.html.in * proxy/libvirt_proxy.c and docs/* typo fixing 2008-04-24 09:17:29 +00:00
index.py Change libvirtd description from qemu only to various VM(i.e. Xen, LXC) 2008-05-15 06:12:32 +00:00
intro.html Change libvirtd description from qemu only to various VM(i.e. Xen, LXC) 2008-05-15 06:12:32 +00:00
intro.html.in Change libvirtd description from qemu only to various VM(i.e. Xen, LXC) 2008-05-15 06:12:32 +00:00
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 Change libvirtd description from qemu only to various VM(i.e. Xen, LXC) 2008-05-15 06:12:32 +00:00
libvirHeader.png * docs/site.xsl docs/*.png docs/*.html: update the images from Diana, 2006-01-23 22:55:41 +00:00
libvirLogo.png * doc/* : total revamp of the web site based on Diana Fong design 2006-01-20 15:49:04 +00:00
libvirt-api.xml Release of 0.5.0 2008-11-25 15:48:11 +00:00
libvirt-header-bg.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-header-logo.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-net-logical.fig Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-net-logical.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-net-physical.fig Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-net-physical.png Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
libvirt-refs.xml Release of 0.5.0 2008-11-25 15:48:11 +00:00
libvirt.css Added autogenerated TOC for network and storage XML reference docs 2008-05-06 23:23:55 +00:00
libvirt.rng Adding support for SDL fullscreen option 2008-12-11 11:44:30 +00:00
libvirtLogo.png * //* : renamed the project libvirt , this affects all makefiles, 2006-02-09 17:45:11 +00:00
Libxml2-Logo-90x34.gif * configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif 2005-12-07 09:33:00 +00:00
madeWith.png * //* : renamed the project libvirt , this affects all makefiles, 2006-02-09 17:45:11 +00:00
main.css Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
Makefile.am Handle HTML generation in the absence of XHTML1 DTDs 2008-08-20 13:16:29 +00:00
network.rng Added patches for routed networking from Mads Chr. Olesen 2008-03-28 20:38:21 +00:00
newapi.xsl Adapt layout to workaround IE6 bugs 2008-04-25 16:23:51 +00:00
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 Fix generation of NEWS file 2008-04-23 19:39:59 +00:00
node.fig * doc/*: augment and try to complete the doc in its current state 2006-01-23 13:24:07 +00:00
node.gif * doc/*: augment and try to complete the doc in its current state 2006-01-23 13:24:07 +00:00
page.xsl Update domain XML docs 2008-05-08 14:20:07 +00:00
pki_check.sh * docs/libvir.html docs/remote.html: update the remote page, 2007-07-12 15:47:19 +00:00
python.html fix a warning when no proxy is configured in, Daniel 2008-07-22 09:52:31 +00:00
python.html.in Split website out into one file per page. APply new layout and styling 2008-04-23 17:08:31 +00:00
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 Notes on the use of listen_tls/listen_tcp 2008-05-20 15:55:00 +00:00
remote.html.in Notes on the use of listen_tls/listen_tcp 2008-05-20 15:55:00 +00:00
search.php fix the search 2008-04-24 09:44:00 +00:00
site.xsl Adapt layout to workaround IE6 bugs 2008-04-25 16:23:51 +00:00
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 * Makefile.am README TODO autogen.sh configure.in libvir.pc.in 2005-12-05 11:16:07 +00:00
testdomfc4.xml Convert test driver to new domain XML apis 2008-07-11 16:41:27 +00:00
testdomfv0.xml Hook up more test driver methods. Allow HV config to be loaded from extenral XML definition 2006-08-16 16:36:39 +00:00
testnetdef.xml Re-work test driver to implement (nearly) all APIs 2007-07-27 23:23:00 +00:00
testnetpriv.xml Re-work test driver to implement (nearly) all APIs 2007-07-27 23:23:00 +00:00
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 Images to illustrate Cygwin install. 2007-11-28 11:54:47 +00:00
windows-cygwin-2.png Images to illustrate Cygwin install. 2007-11-28 11:54:47 +00:00
windows-cygwin-3.png Images to illustrate Cygwin install. 2007-11-28 11:54:47 +00:00
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