mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
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:
parent
81acc14e3a
commit
cc8e4ff318
@ -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
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user