[KVM-AUTOTEST PATCH 3/4] KVM test: don't re-raise a background exception if something went wrong in the main thread

2011-01-11 Thread Michael Goldish
Signed-off-by: Michael Goldish mgold...@redhat.com --- .../kvm/tests/migration_with_file_transfer.py |7 ++- client/tests/kvm/tests/migration_with_reboot.py|7 ++- client/tests/kvm/tests/vmstop.py |5 + 3 files changed, 13 insertions(+), 6

[KVM-AUTOTEST PATCH 4/4] KVM test: VM.migrate(): make sure the VM is alive after migration

2011-01-11 Thread Michael Goldish
Also add a context() call to make the VMDeadError exception more descriptive. Signed-off-by: Michael Goldish mgold...@redhat.com --- client/tests/kvm/kvm_vm.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py

Re: [PATCH 0/3 v7] MSI-X MMIO support for KVM

2011-01-11 Thread Sheng Yang
On Thursday 06 January 2011 18:19:42 Sheng Yang wrote: Change from v6: 1. Discard PBA support. But we can still add it later. 2. Fix one memory reference bug 3. Add automatically MMIO unregister after device was deassigned. 4. Update according to Avi's comments. 5. Add documents for new API.

[PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs()

2011-01-11 Thread Xiao Guangrong
Fix: [ 1001.499596] === [ 1001.499599] [ INFO: suspicious rcu_dereference_check() usage. ] [ 1001.499601] --- [ 1001.499604] include/linux/kvm_host.h:301 invoked rcu_dereference_check() without

[PATCH v3 2/3] KVM: send IPI to vcpu only when it's in guest mode

2011-01-11 Thread Xiao Guangrong
We can interrupt the vcpu only when it's running in guest mode to reduce IPI Also 1: No need atomically to read/write -mode in vcpu's thread 2: reorganize struct kvm_vcpu to make -mode and -requests in the same cache line explicitly Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com

[PATCH v3 3/3] KVM: make make_all_cpus_request() lockless

2011-01-11 Thread Xiao Guangrong
Now, we have 'vcpu-mode' to judge whether need to send ipi to other cpus, this way is very exact, so checking request bit is needless, then we can drop the spinlock let it's collateral Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- include/linux/kvm_host.h |6 --

Re: error: building kvm for powerpc using cross compiler on x86

2011-01-11 Thread Alexander Graf
On 11.01.2011, at 13:44, Dushyant Bansal wrote: On Monday 10 January 2011 05:59 PM, Alexander Graf wrote: $ cp arch/powerpc/configs/pmac32_defconfig .config $ make menuconfig ARCH=powerpc seems to work. I'm not sure what default config is taken by default, but apparently one of the KVM

<    1   2