On 07/03/2012 04:14 PM, Peter Maydell wrote: > On 3 July 2012 14:10, Avi Kivity <avi@xxxxxxxxxx> 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. Seems reasonable. I imagine wfi works with interrupts disabled, unlike the x86 silliness? -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html