Re: [PATCH v8 11/13] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-09-16 Thread Paolo Bonzini
On 16/09/2015 10:50, Feng Wu wrote: >* are two possible cases: > - * 1. After running 'pi_pre_block', context switch > + * 1. After running 'pre_block', context switch Please fold this in the previous patch. >*happened. For this case

[PATCH v8 11/13] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-09-16 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is blocked. pre-block: - Add the vCPU to the blocked per-CPU list - Set 'NV' to POSTED_INTR_WAKEUP_VECTOR post-block: - Remove the vCPU from the per-CPU list Signed-off-by: Feng Wu --- v8: - Rename 'pi_pre_block' to 'pre_block' - Ren