提交 27185132 编写于 作者: D Daniel Veillard

* src/xml.c: fix build when configured without Xen

Daniel
上级 211a20ae
Fri Oct 26 15:40:44 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xml.c: fix build when configured without Xen
Wed Oct 24 16:21:02 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xml.c: applied patch from Jim Meyering fixing parseNumber
......
......@@ -1585,7 +1585,11 @@ virDomainParseXMLDesc(virConnectPtr conn, const char *xmldesc, char **name,
str = virXPathString("string(/domain/vcpu/@cpuset)", ctxt);
if (str != NULL) {
#ifdef WITH_XEN
int maxcpu = xenNbCpus(conn);
#else
int maxcpu = 64;
#endif
char *cpuset = NULL;
char *ranges = NULL;
const char *cur = str;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册