Displaying 7 results from an estimated 7 matches for "main_cpupoolcreate".
2012 Apr 03
3
[PATCH] xl: Don't require a config file for cpupools
...for more information.
B<OPTIONS>
diff -r 30cc13e25e01 -r 0fb728d56bae tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Tue Apr 03 19:02:19 2012 +0100
+++ b/tools/libxl/xl_cmdimpl.c Tue Apr 03 19:28:04 2012 +0100
@@ -5407,7 +5407,7 @@ int main_tmem_freeable(int argc, char **
int main_cpupoolcreate(int argc, char **argv)
{
- const char *filename = NULL;
+ const char *filename = NULL, *config_src=NULL;
const char *p;
char extra_config[1024];
int opt;
@@ -5471,23 +5471,26 @@ int main_cpupoolcreate(int argc, char **
optind++;
}
- if (!filename) {
-...
2012 Apr 24
8
[PATCH v2] libxl: prevent xl from running if xend is running.
...th,1=deauth",
},
{ "tmem-freeable",
- &main_tmem_freeable, 0,
+ &main_tmem_freeable, 0, 0,
"Get information about how much freeable memory (MB) is in-use by tmem",
"",
},
{ "cpupool-create",
- &main_cpupoolcreate, 1,
+ &main_cpupoolcreate, 1, 1,
"Create a CPU pool based an ConfigFile",
"[options] <ConfigFile> [vars]",
"-h, --help Print this help.\n"
@@ -381,53 +381,53 @@ struct cmd_spec cmd_table[] = {
"...
2012 Aug 14
12
[TESTDAY] xl cpupool-create segfaults if given invalid configuration
...sing error near `sched'': syntax error,
unexpected IDENT, expecting NEWLINE or '';''
Failed to parse config file: Invalid argument
*** glibc detected *** xl: free(): invalid pointer: 0x0000000001a79a10 ***
Segmentation fault (core dumped)
Looking at the code in xl_cmdimpl.c:main_cpupoolcreate() it calls:
* xlu_cfg_init()
* xlu_cfg_readdata()
if the readdata() fails, it calls xlu_cfg_destroy() before returning.
Other callers to readdata() seem to call exit(1) if readdata() fails.
So is readdata() leavnig the config in an inconsistent state? Or is
config already cleaned up?
-George
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
a, libxl_event.h is included in libxl.h. So, the former one also need to be installed.
b, define __XEN_TOOLS__ in libxl.h:
the head file "xen/sysctl.h" need check this macro.
It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h and tools/libxc/xenctrlosdep.h).
Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
diff -r 87218bd367be
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello,
Third version of the NUMA placement series Xen 4.2.
All the comments received during v2''s review have been addressed (more details
in single changelogs).
The most notable changes are the following:
- the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the
recent patches that allows us to allocate bitmaps of different sizes;
- the heuristics for deciding
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces
previous postings of those patches.
The main difference is that the xl cfg file is now formatted using POD
instead of markdown and presented as a manpage.
I have setup a cron job to build docs/html and publish it at
http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now).
The motivation for some of these patches