WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xen: Set VGCF_online flag appropriately f

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen: Set VGCF_online flag appropriately for getvcpucontext.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 10:30:23 -0700
Delivery-date: Mon, 12 Mar 2007 10:30:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=