|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] At least for the time being, GETVCPUCONTEXT needs to wor
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID fd7b8b0514667457cdb036fb62aedda57564bfd7
# Parent 27d7c7f226f489ea6dd9e4952ab6044e477653a3
At least for the time being, GETVCPUCONTEXT needs to work
even for uninitialised VCPUs. xc_linux_build() depends on
it (rather stupidly).
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 27d7c7f226f4 -r fd7b8b051466 xen/common/dom0_ops.c
--- a/xen/common/dom0_ops.c Sat Oct 15 07:52:22 2005
+++ b/xen/common/dom0_ops.c Sat Oct 15 08:32:10 2005
@@ -446,8 +446,7 @@
goto getvcpucontext_out;
ret = -ESRCH;
- v = d->vcpu[op->u.getvcpucontext.vcpu];
- if ( (v == NULL) || !test_bit(_VCPUF_initialised, &v->vcpu_flags) )
+ if ( (v = d->vcpu[op->u.getvcpucontext.vcpu]) == NULL )
goto getvcpucontext_out;
ret = -ENOMEM;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] At least for the time being, GETVCPUCONTEXT needs to work,
Xen patchbot -unstable <=
|
|
|
|
|