[kvm-devel] [PATCH] ensure 4kB page alignment for embedded powerpc when using kvm

2008-01-17 Thread Christian Ehrhardt
Subject: [PATCH] ensure 4kB page alignment for embedded powerpc when using kvm From: Hollis Blanchard [EMAIL PROTECTED] From: Christian Ehrhardt [EMAIL PROTECTED] We need 4kB aligned pages when using qemu together with kvm for embedded powerpc. Qemu already had a similar issue when

[kvm-devel] [PATCH] SVM: fix lazy FPU switching

2008-01-17 Thread Joerg Roedel
If the guest writes to cr0 and leaves the TS flag at 0 while vcpu-fpu_active is also 0, the TS flag in the guests cr0 gets lost. This leads to corrupt FPU state an causes Windows Vista 64bit to crash very soon after boot. This patch fixes this bug. Signed-off-by: Joerg Roedel [EMAIL PROTECTED]

[kvm-devel] [PATCH][RESEND] add more regs to kvm_show_regs for powerpc

2008-01-17 Thread Christian Ehrhardt
Resend ppc patches neither rejected, commented nor accepted yet Subject: [PATCH][RESEND] add more regs to kvm_show_regs for powerpc From: Christian Ehrhardt [EMAIL PROTECTED] This adds some registers useful for guest debugging to the powerpc code for kvm_show_regs in libkvm. Signed-off-by:

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-17 Thread Andrea Arcangeli
On Wed, Jan 16, 2008 at 07:48:06PM +0200, Izik Eidus wrote: Rik van Riel wrote: On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum required to have a nice linux-VM controlled

[kvm-devel] GFXboot, Ubuntu and kvm git

2008-01-17 Thread Soren Hansen
Hi! I'm having an issue with GFXboot in Ubuntu. If I try to boot one of our recent iso images, e.g. http://cdimage.ubuntu.com/ubuntu-server/daily/current/hardy-server-amd64.iso with a simple kvm -cdrom hardy-server-amd64 using the kernel modules from 2.6.24-rc6, and kvm-userspace from git, I

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-17 Thread Izik Eidus
Andrea Arcangeli wrote: On Wed, Jan 16, 2008 at 07:48:06PM +0200, Izik Eidus wrote: Rik van Riel wrote: On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-17 Thread Andi Kleen
And turning of the TSC bit (for 32-bit guests). Turning off the TSC bit will break 64bit Linux (it checks if the cpuid bits have minimum supported features) and you don't know in advantage if a guest is 32bit or not. Ok there is a special BIOS call that the kernel issues to tell the BIOS that

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-17 Thread Marcelo Tosatti
On Wed, Jan 16, 2008 at 02:54:15PM +0100, Andi Kleen wrote: On Wed, Jan 16, 2008 at 03:38:45PM +0200, Avi Kivity wrote: Andi Kleen wrote: Linux checks a couple of things: e.g. if there are no deep C states and if there are no clustered nodes in the APIC etc. It might be reasonable to

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-17 Thread Andrea Arcangeli
On Thu, Jan 17, 2008 at 08:21:16PM +0200, Izik Eidus wrote: ohh i like it, this is cleaver solution, and i guess the cost of the vmexits wont be too high if it will be not too much aggressive Yes, and especially during swapping, the system isn't usually CPU bound. The idea is to pay with

Re: [kvm-devel] GFXboot, Ubuntu and kvm git

2008-01-17 Thread Dor Laor
On Thu, 2008-01-17 at 18:20 +0100, Soren Hansen wrote: Hi! I'm having an issue with GFXboot in Ubuntu. If I try to boot one of our recent iso images, e.g. http://cdimage.ubuntu.com/ubuntu-server/daily/current/hardy-server-amd64.iso with a simple kvm -cdrom hardy-server-amd64 using

Re: [kvm-devel] GFXboot, Ubuntu and kvm git

2008-01-17 Thread Soren Hansen
On Fri, Jan 18, 2008 at 12:43:51AM +0200, Dor Laor wrote: I'm having an issue with GFXboot in Ubuntu. If I try to boot one of our recent iso images, e.g. http://cdimage.ubuntu.com/ubuntu-server/daily/current/hardy-server-amd64.iso with a simple kvm -cdrom hardy-server-amd64

Re: [kvm-devel] [PATCH] KVM simplified virtio balloon driver

2008-01-17 Thread Dor Laor
On Thu, 2008-01-17 at 07:56 -0600, Anthony Liguori wrote: Dor Laor wrote: On Thu, 2008-01-17 at 11:25 +0100, Martin Schwidefsky wrote: Another idea: Martin added an oom notifier to the cmm driver. Before the oom-killer kicks in cmm will try to free 256 pages. I think your virtio

Re: [kvm-devel] GFXboot, Ubuntu and kvm git

2008-01-17 Thread Amit Shah
On Friday 18 January 2008 04:13:51 Dor Laor wrote: On Thu, 2008-01-17 at 18:20 +0100, Soren Hansen wrote: Hi! I'm having an issue with GFXboot in Ubuntu. If I try to boot one of our recent iso images, e.g. http://cdimage.ubuntu.com/ubuntu-server/daily/current/hardy-server-amd64.