if the domain is not running, patch by Takahashi Tomohiro
daniel
+Tue Apr 21 17:08:57 CEST 2009 Daniel Veillard <veillard@redhat.com>
+
+ * src/xend_internal.c: let xend try vcpu pinning operation even
+ if the domain is not running, patch by Takahashi Tomohiro
+
Tue Apr 21 15:38:29 CEST 2009 Daniel Veillard <veillard@redhat.com>
* docs/drvvbox.html.in docs/drvvbox.html: tiny fixes to VirtualBox
return (-1);
}
- if (domain->id < 0) {
- virXendError(domain->conn, VIR_ERR_INVALID_ARG,
- _("Domain %s isn't running."), domain->name);
- return(-1);
- }
-
/* from bit map, build character string of mapped CPU numbers */
for (i = 0; i < maplen; i++) for (j = 0; j < 8; j++)
if (cpumap[i] & (1 << j)) {
__FUNCTION__);
return (-1);
}
- if (domain->id < 0)
- return(-1);
root = sexpr_get(domain->conn, "/xend/domain/%s?op=vcpuinfo", domain->name);
if (root == NULL)