Re: [PATCH] kvm: fix detection of BIOS disabling VMX

2011-02-20 Thread Avi Kivity
On 02/19/2011 02:02 AM, Cihula, Joseph wrote: From: Avi Kivity [mailto:a...@redhat.com] Sent: Thursday, February 10, 2011 2:02 AM On 02/08/2011 09:45 PM, Joseph Cihula wrote: This patch fixes the logic used to detect whether BIOS has disabled VMX. Applied, thanks. Will you

Re: [PATCH 2/3] KVM: VMX: Short circuit STI; HLT while an interrupt is pending

2011-02-20 Thread Avi Kivity
On 02/17/2011 06:16 PM, Marcelo Tosatti wrote: On Thu, Feb 17, 2011 at 11:12:43AM +0200, Avi Kivity wrote: index ee1cd1a..541da0e 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -3437,6 +3437,15 @@ static int handle_interrupt_window(struct

[Bug 29382] Panic: Unable to handle kernel paging request

2011-02-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=29382 Avi Kivity a...@redhat.com changed: What|Removed |Added CC||a...@redhat.com ---

Re: GSOC 2011 (KVM for MIPS)

2011-02-20 Thread Jan Kiszka
On 2011-02-20 14:08, Aurelien Jarno wrote: On Wed, Feb 16, 2011 at 07:32:31PM -0500, yajin wrote: Hi all, Hi, I have proposed an idea of GSOC 2011 about adding KVM support to MIPS architecture. I have solid experience on MIPS architecture and familiar with qemu. I am very interested in

Using virtioconsole as initial console

2011-02-20 Thread Emil Langrock
Hi, I am currently trying to move all emulated devices in an emulated environment using kvm (0.14~rc1) to their virtio counterparts. Network, block, pci, rng and 9p were no problem, but the virtualised console gives me a hard time. I start my image using following options: $

qemu-kvm-0.13.0, 2.6.37.1 - after migration, some of guests got stuck

2011-02-20 Thread Nikola Ciprich
Hello, I've just migrated a bunch of guests from one node to another due to upgrading host kernel from 2.6.37 to 2.6.37.1. After that, some of guests started consuming 100% of CPU time and their os seems to be stuck. Looks like all the stuck guest were running 2.6.32 with kvm paravirt enabled.

Re: GSOC 2011 (KVM for MIPS)

2011-02-20 Thread yajin
On Sun, Feb 20, 2011 at 9:16 AM, Jan Kiszka jan.kis...@web.de wrote: On 2011-02-20 14:08, Aurelien Jarno wrote: On Wed, Feb 16, 2011 at 07:32:31PM -0500, yajin wrote: Hi all, Hi, I have proposed an idea of GSOC 2011 about adding KVM support to MIPS architecture. I have solid experience on

Re: [PATCH V6 1/4 resend] nmi: convert cpu_index to cpu-index

2011-02-20 Thread Lai Jiangshan
Hi, Luiz Capitulino Any problem? Thanks, Lai On 02/14/2011 06:09 PM, Lai Jiangshan wrote: cpu-index which uses hyphen is better name. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/hmp-commands.hx b/hmp-commands.hx index 5d4cb9e..e43ac7c 100644 --- a/hmp-commands.hx

[PATCH] kvm,async_pf: add missing kvm_async_pf_hash_reset()

2011-02-20 Thread Lai Jiangshan
The hash array of async gfns may still contain some left gfns after kvm_clear_async_pf_completion_queue() called, need to clear them. diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 17af71d..dae2d15 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -525,8 +525,10 @@ int

Re: [PATCH] kvm,async_pf: add missing kvm_async_pf_hash_reset()

2011-02-20 Thread Lai Jiangshan
On 02/21/2011 11:21 AM, Lai Jiangshan wrote: The hash array of async gfns may still contain some left gfns after kvm_clear_async_pf_completion_queue() called, need to clear them. sorry. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c

[PATCH] kvm: allow RO page when atomic !write_fault

2011-02-20 Thread Lai Jiangshan
Atomic-able hva_to_pfn() patches and allow-read-only-page patches are merged almost the same time. But hva_to_pfn() does not handle these two issues well together. When @atomic !@write_fault host-is-read-only-page-mapped the code will return fault_page, actually, it will be better if we return

[PATCH] kvm: better readability of efer_reserved_bits

2011-02-20 Thread Lai Jiangshan
use EFER_SCE, EFER_LME and EFER_LMA instead of magic numbers. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index bcc0efc..9d1d3f2 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -81,9 +81,10 @@ * - enable LME and LMA per

Re: qemu-kvm-0.13.0, 2.6.37.1 - after migration, some of guests got stuck

2011-02-20 Thread Philipp Hahn
Hello, I'm no KVM core developer, so please take my advise with a grain of caution. Am Sonntag 20 Februar 2011 20:32:35 schrieb Nikola Ciprich: I've just migrated a bunch of guests from one node to another due to upgrading host kernel from 2.6.37 to 2.6.37.1. After that, some of guests