Re: [PATCH 4/6] KVM: x86: Fix determining flat mode in recalculate_apic_map

2014-10-04 Thread Gleb Natapov
On Tue, Sep 30, 2014 at 08:49:17PM +0300, Nadav Amit wrote: Determining flat mode according to cid_mask is wrong, since currently KVM supports zero clusters in x2apic mode. Use ldr_bits instead. As a comment above the 'if' you are fixing says the code assumes all APICs are in the same mode (if

Re: [RFC] vPMU support for AMD system

2014-10-04 Thread Gleb Natapov
Hi, On Tue, Sep 30, 2014 at 09:07:22PM -0500, Wei Huang wrote: Hi Paolo and Gleb, The attached file is a preliminary version of AMD vPMU support for KVM. Currently I am working on a formal patch set; but realized that there are some design choice to make (see below). I thought it is better

Re: [patch 3/4] KVM: MMU: reload request from GET_DIRTY_LOG path

2014-10-04 Thread Gleb Natapov
On Tue, Sep 09, 2014 at 12:28:11PM -0300, Marcelo Tosatti wrote: On Mon, Jul 21, 2014 at 04:14:24PM +0300, Gleb Natapov wrote: On Wed, Jul 09, 2014 at 04:12:53PM -0300, mtosa...@redhat.com wrote: Reload remote vcpus MMU from GET_DIRTY_LOG codepath, before deleting a pinned spte.

Re: Possible to backport this vhost-net fix to 3.10?

2014-10-04 Thread Michael S. Tsirkin
On Sat, Oct 04, 2014 at 12:38:24AM +0100, Eddie Chapman wrote: Hi, I've been regularly seeing on the 3.10 stable kernels the same problem as reported by Romain Francoise here: https://lkml.org/lkml/2013/1/23/492 An example from my setup is at the bottom of this mail. It's a problem as