On Mon, Dec 26, 2011 at 7:09 PM, Gleb Natapov wrote:
> On Sat, Dec 17, 2011 at 11:19:35AM +0800, Liu Ping Fan wrote:
>> From: Liu Ping Fan
>>
>> Currently, vcpu can be destructed only when kvm instance destroyed.
>> Change this to vcpu's destruction before kvm instance, so vcpu MUST
>> and CAN be
On Mon, Dec 26, 2011 at 01:17:39PM +0200, Avi Kivity wrote:
> On 12/26/2011 01:09 PM, Gleb Natapov wrote:
> > > +
> > > + idx = srcu_read_lock(&kvm->srcu_vcpus);
> > > + kvm_for_each_vcpu(vcpu, kvm) {
> > > + if (!pass && !firststart &&
> > > + vc
On 12/26/2011 01:09 PM, Gleb Natapov wrote:
> > +
> > + idx = srcu_read_lock(&kvm->srcu_vcpus);
> > + kvm_for_each_vcpu(vcpu, kvm) {
> > + if (!pass && !firststart &&
> > + vcpu != kvm->last_boosted_vcpu &&
> > + kvm-
On Sat, Dec 17, 2011 at 11:19:35AM +0800, Liu Ping Fan wrote:
> From: Liu Ping Fan
>
> Currently, vcpu can be destructed only when kvm instance destroyed.
> Change this to vcpu's destruction before kvm instance, so vcpu MUST
> and CAN be destroyed before kvm's destroy.
>
> Signed-off-by: Liu Pin
From: Liu Ping Fan
Currently, vcpu can be destructed only when kvm instance destroyed.
Change this to vcpu's destruction before kvm instance, so vcpu MUST
and CAN be destroyed before kvm's destroy.
Signed-off-by: Liu Ping Fan
---
arch/x86/kvm/i8254.c | 10 +++--
arch/x86/kvm/i8259.c