Displaying 1 result from an estimated 1 matches for "_vcpuf_migrating".
2007 Feb 14
0
[PATCH 11/12] Allow vcpu to pause self
...id vcpu_unpause(struct vcpu *v)
{
int wake;
diff -r f6443af464be xen/common/schedule.c
--- a/xen/common/schedule.c Tue Feb 13 13:37:12 2007 +0800
+++ b/xen/common/schedule.c Tue Feb 13 13:41:44 2007 +0800
@@ -629,6 +629,13 @@ void context_saved(struct vcpu *prev)
if ( unlikely(test_bit(_VCPUF_migrating, &prev->vcpu_flags)) )
vcpu_migrate(prev);
+
+ if ( unlikely(test_bit(_VCPUF_need_sync, &prev->vcpu_flags)) )
+ {
+ sync_vcpu_execstate(prev);
+ /* test and clear can be split, since here is the only clear
point */
+ clear_bit(_VCPUF_need_sync, &...