From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxwDU-0004dp-Or for qemu-devel@nongnu.org; Fri, 20 Jun 2014 06:38:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxwDL-0005Zu-F1 for qemu-devel@nongnu.org; Fri, 20 Jun 2014 06:38:44 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:33902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxwDL-0005Yy-89 for qemu-devel@nongnu.org; Fri, 20 Jun 2014 06:38:35 -0400 Received: by mail-wg0-f48.google.com with SMTP id n12so3518251wgh.19 for ; Fri, 20 Jun 2014 03:38:33 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53A40F26.7040902@redhat.com> Date: Fri, 20 Jun 2014 12:38:30 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1403043037-1271-1-git-send-email-james.hogan@imgtec.com> <1403043037-1271-11-git-send-email-james.hogan@imgtec.com> <20140619162748.GO7398@ohm.rr44.fr> <577D5B21-4F8B-4A9A-BD25-A76C76987544@kymasys.com> <20140619214733.GJ24904@hall.aurel32.net> <786372578.29668656.1403244425225.JavaMail.zimbra@redhat.com> <20140620091047.GC13901@ohm.rr44.fr> In-Reply-To: <20140620091047.GC13901@ohm.rr44.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 10/12] hw/mips: malta: Add KVM support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Peter Maydell , James Hogan , kvm@vger.kernel.org, Gleb Natapov , qemu-devel@nongnu.org, Sanjay Lal Il 20/06/2014 11:10, Aurelien Jarno ha scritto: > > My idea was to add a machines-specific option umkernel=on, and require it > > in order to run KVM. Later we can add umkernel=on support for TCG as well, > > while umkernel=off with KVM requires virtualization extensions. > > > > The same option can disable pflash boot. > > > > What do you think? > > For what I understand the current KVM support in MIPS uses trap and > emulate and thus doesn't need hardware support, just a recent kernel > with the option enabled. Yes, but work to support virtualization extensions is underway. Patches were posted a few months ago. > That's why I do wonder if there is a real point > in supporting UM kernels in TCG mode. Debugging, mainly. It is sometimes useful to compare TCG with KVM on x86, and I suppose it could be the same on MIPS. Paolo