From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [Qemu-devel] [PATCH] kvm: Fix memory slot page alignment logic Date: Mon, 10 Nov 2014 15:48:54 +0100 Message-ID: <5460D056.5010007@suse.de> References: <1415395125-18926-1-git-send-email-agraf@suse.de> <20141110133101.194f5ea0@nial.usersys.redhat.com> <5460BACA.9000702@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Igor Mammedov , kvm-devel , QEMU Developers , qemu-stable , Stuart Yoder , "qemu-ppc@nongnu.org" , Paolo Bonzini To: Peter Maydell Return-path: Received: from cantor2.suse.de ([195.135.220.15]:41655 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753221AbaKJOs4 (ORCPT ); Mon, 10 Nov 2014 09:48:56 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 10.11.14 14:55, Peter Maydell wrote: > On 10 November 2014 13:16, Alexander Graf wrote: >> Sorry, I don't understand this paragraph. Memory slots in general are >> accelerations for memory access - for MMIO (RAM is usually aligned), KVM >> can always exit to QEMU and just do a manual MMIO exit. > > ...you're a bit stuck if you were hoping to execute code from > that RAM, though, so they're not *purely* acceleration, right? Yes and no. Technically, there's no reason KVM couldn't do an MMIO exit dance to fetch the next instruction. From user space this should be indistinguishable. Today, I don't think it's implemented though :). Alex