mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
* src/xend_internal.c: let xend try vcpu pinning operation even
if the domain is not running, patch by Takahashi Tomohiro daniel
This commit is contained in:
parent
5237c2b847
commit
ec4e379125
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -3776,12 +3776,6 @@ xenDaemonDomainPinVcpu(virDomainPtr domain, unsigned int vcpu,
|
||||
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)) {
|
||||
@ -3834,8 +3828,6 @@ xenDaemonDomainGetVcpus(virDomainPtr domain, virVcpuInfoPtr info, int maxinfo,
|
||||
__FUNCTION__);
|
||||
return (-1);
|
||||
}
|
||||
if (domain->id < 0)
|
||||
return(-1);
|
||||
|
||||
root = sexpr_get(domain->conn, "/xend/domain/%s?op=vcpuinfo", domain->name);
|
||||
if (root == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user