fix setting CPU parameters in the config files

* src/xm_internal.c: patch from Saori Fukuta to fix setting
  CPU parameters in the config files, the value was overwritten
Daniel
This commit is contained in:
Daniel Veillard 2007-12-14 15:51:42 +00:00
parent 81acc14e3a
commit cc8e4ff318
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
Fri Dec 14 16:50:14 CET 2007 Daniel Veillard <veillard@redhat.com>
* src/xm_internal.c: patch from Saori Fukuta to fix setting
CPU parameters in the config files, the value was overwritten
Fri Dec 14 16:36:02 CET 2007 Daniel Veillard <veillard@redhat.com>
* src/xs_internal.[ch]: patch from Saori Fukuta to fix the

View File

@ -1969,11 +1969,6 @@ virConfPtr xenXMParseXMLToConfig(virConnectPtr conn, const char *xml) {
}
}
if (xenXMConfigSetStringFromXPath(conn, conf, ctxt, "cpus",
"string(/domain/vcpu/@cpuset)", 1,
"cannot set the cpuset parameter") < 0)
goto error;
obj = xmlXPathEval(BAD_CAST "string(/domain/os/type)", ctxt);
if ((obj != NULL) && (obj->type == XPATH_STRING) &&
(obj->stringval != NULL) && !strcmp((char*)obj->stringval, "hvm"))