[PATCH] Fix a bug in function create in kvm_vm

2009-09-28 Thread Yolkfull Chow
Signed-off-by: Yolkfull Chow yz...@redhat.com --- client/tests/kvm/kvm_vm.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index 55220f9..8ae 100755 --- a/client/tests/kvm/kvm_vm.py +++

compiling kvm-kmod with 2.6.24 fails

2009-09-28 Thread Dietmar Maurer
Hi all, the kvm-XX packages always included the kernel module, but this is not the case for stable qemu-kvm-0.11.0? So I am trying to compile the latest kernel module for our 2.6.24 kernel. # git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git # cd kvm-kmod # git submodule update

Re: [PATCH] [RESEND] KVM:VMX: Add support for Pause-Loop Exiting

2009-09-28 Thread Zhai, Edwin
Avi Kivity wrote: +#define KVM_VMX_DEFAULT_PLE_GAP41 +#define KVM_VMX_DEFAULT_PLE_WINDOW 4096 +static int __read_mostly ple_gap = KVM_VMX_DEFAULT_PLE_GAP; +module_param(ple_gap, int, S_IRUGO); + +static int __read_mostly ple_window = KVM_VMX_DEFAULT_PLE_WINDOW; +module_param(ple_window,

RE: KVM-88 broke VirtIO Hard Disks

2009-09-28 Thread Dietmar Maurer
VirtIO is still broken in qemu-kvm-0-11.0. Reverting the patch solves the problem. Should I report that bug somewhere else? - Dietmar -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alexey Eromenko Sent: Donnerstag, 23. Juli 2009

[ kvm-Bugs-2868883 ] netkvm.sys stops sending/receiving on Windows Server 2003 VM

2009-09-28 Thread SourceForge.net
Bugs item #2868883, was opened at 2009-09-28 15:27 Message generated for change (Tracker Item Submitted) made by mdw21 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2868883group_id=180599 Please note that this message will contain a full copy of the

[ kvm-Bugs-2868883 ] netkvm.sys stops sending/receiving on Windows Server 2003 VM

2009-09-28 Thread SourceForge.net
Bugs item #2868883, was opened at 2009-09-28 15:27 Message generated for change (Comment added) made by mdw21 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2868883group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH 0/3] kvm ksm support v3

2009-09-28 Thread Marcelo Tosatti
On Wed, Sep 23, 2009 at 09:47:15PM +0300, Izik Eidus wrote: Change from v2 : remove unused if. Thanks. Izik Eidus (3): kvm: dont hold pagecount reference for mapped sptes pages add SPTE_HOST_WRITEABLE flag to the shadow ptes add support for change_pte mmu notifiers

Re: [PATCH] kvm: allocate correct size for dirty bitmap

2009-09-28 Thread Marcelo Tosatti
On Wed, Sep 23, 2009 at 04:13:18PM -0600, Bruce Rogers wrote: The dirty bitmap copied out to userspace is stored in a long array, and gets copied out to userspace accordingly. This patch accounts for that correctly. Currently I'm seeing kvm crashing due to writing beyond the end of the

Re: [PATCH] KVM: fix LAPIC timer period overflow

2009-09-28 Thread Marcelo Tosatti
On Fri, Sep 25, 2009 at 11:09:37AM +0200, Aurelien Jarno wrote: Don't overflow when computing the 64-bit period from 32-bit registers. Fixes sourceforge bug #2826486. Signed-off-by: Aurelien Jarno aurel...@aurel32.net --- arch/x86/kvm/lapic.c |2 +- 1 files changed, 1 insertions(+),

[patch 2/2] test: vmexit: run parallel tests on each cpu

2009-09-28 Thread Marcelo Tosatti
So one can measure SMP overhead. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm-test/kvm/user/test/x86/vmexit.c === --- qemu-kvm-test.orig/kvm/user/test/x86/vmexit.c +++ qemu-kvm-test/kvm/user/test/x86/vmexit.c

[patch 1/2] test: add wait parameter to on_cpu

2009-09-28 Thread Marcelo Tosatti
To determine whether to wait for IPI to finish on remote cpu. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: qemu-kvm/kvm/user/test/lib/x86/smp.c === --- qemu-kvm.orig/kvm/user/test/lib/x86/smp.c +++

[patch 0/2] test: parallel vmexit

2009-09-28 Thread Marcelo Tosatti
Run the vmexit tests in parallel on each present cpu. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: R/W HG memory mappings with kvm?

2009-09-28 Thread Tsuyoshi Ozawa
Hello, Sorry about that. The issue is the BUG in gfn_to_pgn where the pfn is not calculated correctly after looking up the vma. I still don't see how to get the physical address from the vma, since vm_pgoff is zero, and the vm_ops are not filled. The vma does not seem to store the

Re: [PATCH 0/9] kvm-kmod: Various fixes

2009-09-28 Thread Marcelo Tosatti
On Fri, Sep 25, 2009 at 06:18:01PM +0200, Jan Kiszka wrote: As requested, here is my current kvm-kmod queue. Most fixes target latest 2.6.31 so aren't that urgent yet, but some also affect older kernels in specific configurations. Find the patches also at git://git.kiszka.org/kvm-kmod.git

Re: [PATCH] Use Little Endian for Dirty Bitmap

2009-09-28 Thread Hollis Blanchard
On Mon, 2009-07-27 at 12:38 +0200, Alexander Graf wrote: We currently use host endian long types to store information in the dirty bitmap. This works reasonably well on Little Endian targets, because the u32 after the first contains the next 32 bits. On Big Endian this breaks completely

Re: [PATCH] Use Little Endian for Dirty Bitmap

2009-09-28 Thread Alexander Graf
On 29.09.2009, at 02:08, Hollis Blanchard wrote: On Mon, 2009-07-27 at 12:38 +0200, Alexander Graf wrote: We currently use host endian long types to store information in the dirty bitmap. This works reasonably well on Little Endian targets, because the u32 after the first contains the next

Biweekly KVM Test report, kernel 94252... qemu 5cc3c...

2009-09-28 Thread Xu, Jiajun
Hi All, This Weekly KVM Testing Report against lastest kvm.git 94252a58662dc4ca6191eac479efb40e0716865c and qemu-kvm.git 5cc3cfb6c2254483ae324da407a13307fe7355f3. Qemu-kvm tree build issue is fixed by qemu commit 781774b38c90797add71d029b7fbee43200c66d4. There is no other new bug found in this

Hotplug / TSC cleanup and fixing

2009-09-28 Thread Zachary Amsden
Greatly simplified version of the patches; allocate and dealloc all required structs at module load and unload time. Clarification: per_cpu(var, cpu) does indeed work for not-present CPUs; the allocations for module specific per-cpu variables are done at module load and unload time, while the

[PATCH v2: kvm 1/4] Code motion. Separate timer intialization into an indepedent function.

2009-09-28 Thread Zachary Amsden
Signed-off-by: Zachary Amsden zams...@redhat.com --- arch/x86/kvm/x86.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fedac9d..15d2ace 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@

[PATCH v2: kvm 4/4] Fix hotplug of CPUs for KVM.

2009-09-28 Thread Zachary Amsden
Both VMX and SVM require per-cpu memory allocation, which is done at module init time, for only online cpus. Backend was not allocating enough structure for all possible CPUs, so new CPUs coming online could not be hardware enabled. Signed-off-by: Zachary Amsden zams...@redhat.com ---

[PATCH v2: kvm 2/4] Kill the confusing tsc_ref_khz and ref_freq variables.

2009-09-28 Thread Zachary Amsden
They are globals, not clearly protected by any ordering or locking, and vulnerable to various startup races. Instead, for variable TSC machines, register the cpufreq notifier and get the TSC frequency directly from the cpufreq machinery. Not only is it always right, it is also perfectly

[PATCH v2: kvm 3/4] Fix printk name error in svm.c

2009-09-28 Thread Zachary Amsden
Signed-off-by: Zachary Amsden zams...@redhat.com --- arch/x86/kvm/svm.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 9a4daca..d1036ce 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -330,13 +330,14 @@ static

Re: Modifying RAM during runtime on guest

2009-09-28 Thread Jim Paris
Daniel Bareiro wrote: Hi Brian. On Tuesday, 08 September 2009 16:18:09 -0500, Brian Jackson wrote: I'm trying to modify the amount of RAM that has some of guests. Host has 2.6.30 kernel with KVM-88. In one of guest I didn't have problems when decreasing the amount of memory

Re: [PATCH] Use Little Endian for Dirty Bitmap

2009-09-28 Thread Hollis Blanchard
On Mon, 2009-07-27 at 12:38 +0200, Alexander Graf wrote: We currently use host endian long types to store information in the dirty bitmap. This works reasonably well on Little Endian targets, because the u32 after the first contains the next 32 bits. On Big Endian this breaks completely