|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xen: Set VGCF_online flag appropriately f
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173708667 0
# Node ID 7ec182baf9fd9dde71279c7d65b6b7568def3ea4
# Parent f3f5f2756d750b8c2576e3dd4b817d12cee002ba
xen: Set VGCF_online flag appropriately for getvcpucontext.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/domctl.c | 2 ++
1 files changed, 2 insertions(+)
diff -r f3f5f2756d75 -r 7ec182baf9fd xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c Mon Mar 12 13:53:43 2007 +0000
+++ b/xen/arch/x86/domctl.c Mon Mar 12 14:11:07 2007 +0000
@@ -450,6 +450,8 @@ void arch_get_info_guest(struct vcpu *v,
c(flags &= ~(VGCF_i387_valid|VGCF_in_kernel));
if ( test_bit(_VCPUF_fpu_initialised, &v->vcpu_flags) )
c(flags |= VGCF_i387_valid);
+ if ( !test_bit(_VCPUF_down, &v->vcpu_flags) )
+ c(flags |= VGCF_online);
if ( is_hvm_vcpu(v) )
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xen: Set VGCF_online flag appropriately for getvcpucontext.,
Xen patchbot-unstable <=
|
|
|
|
|