On Sat, Dec 17, 2011 at 11:19:35AM +0800, Liu Ping Fan wrote:
From: Liu Ping Fan pingf...@linux.vnet.ibm.com
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.
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-last_boosted_vcpu !=
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
+ vcpu !=
On Mon, Dec 26, 2011 at 7:09 PM, Gleb Natapov g...@redhat.com wrote:
On Sat, Dec 17, 2011 at 11:19:35AM +0800, Liu Ping Fan wrote:
From: Liu Ping Fan pingf...@linux.vnet.ibm.com
Currently, vcpu can be destructed only when kvm instance destroyed.
Change this to vcpu's destruction before kvm
From: Liu Ping Fan pingf...@linux.vnet.ibm.com
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 pingf...@linux.vnet.ibm.com
---