search for: vcpuf_need_sync

Displaying 1 result from an estimated 1 matches for "vcpuf_need_sync".

Did you mean: _vcpuf_need_sync
2007 Feb 14
0
[PATCH 11/12] Allow vcpu to pause self
...nosync(v); } +/* This is not a code path called from guest, since execution is paused + * after next context switch. ACPI PM requires this to pause vcpu0 of + * dom0 itself, in case that vcpu not running on cpu 0. + */ +void vcpu_pause_self(void) +{ + struct vcpu *v = current; + + set_bit(_VCPUF_need_sync, &v->vcpu_flags); + vcpu_pause_nosync(v); +} + void 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 co...