On 3 July 2012 14:10, Avi Kivity <avi at redhat.com> wrote: > Or you could just call kvm_vcpu_block() here without having the > variable. But eventually you'll need it since you want to expose wfi > state to userspace for live migration. You could just always wake the cpu when migrating: the architecture allows WFI to return early for any reason it likes including implementation convenience. -- PMM