direct-io.hg

changeset 14351:7ec182baf9fd

xen: Set VGCF_online flag appropriately for getvcpucontext.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Mar 12 14:11:07 2007 +0000 (2007-03-12)
parents f3f5f2756d75
children 6d2328b353c8
files xen/arch/x86/domctl.c
line diff
     1.1 --- a/xen/arch/x86/domctl.c	Mon Mar 12 13:53:43 2007 +0000
     1.2 +++ b/xen/arch/x86/domctl.c	Mon Mar 12 14:11:07 2007 +0000
     1.3 @@ -450,6 +450,8 @@ void arch_get_info_guest(struct vcpu *v,
     1.4      c(flags &= ~(VGCF_i387_valid|VGCF_in_kernel));
     1.5      if ( test_bit(_VCPUF_fpu_initialised, &v->vcpu_flags) )
     1.6          c(flags |= VGCF_i387_valid);
     1.7 +    if ( !test_bit(_VCPUF_down, &v->vcpu_flags) )
     1.8 +        c(flags |= VGCF_online);
     1.9  
    1.10      if ( is_hvm_vcpu(v) )
    1.11      {