From: James Hogan Subject: [PATCH 3/4] mips_malta: Remove incorrect KVM T&E references Date: Thu, 26 Jun 2014 10:44:24 +0100 Message-ID: <1403775865-25219-4-git-send-email-james.hogan@imgtec.com> References: <1403775865-25219-1-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: , Aurelien Jarno , "Paolo Bonzini" , James Hogan To: Return-path: Received: from mailapp01.imgtec.com ([195.59.15.196]:24129 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753445AbaFZJoq (ORCPT ); Thu, 26 Jun 2014 05:44:46 -0400 In-Reply-To: <1403775865-25219-1-git-send-email-james.hogan@imgtec.com> Sender: kvm-owner@vger.kernel.org List-ID: =46ix the error message and code comments relating to KVM not supportin= g booting from the flash mapping when no kernel is provided. The issue is a general MIPS KVM issue and isn't specific to the Trap & Emulate version of MIPS KVM. Reported-by: Andreas F=C3=A4rber Signed-off-by: James Hogan Cc: Aurelien Jarno Cc: Paolo Bonzini --- hw/mips/mips_malta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index c0841991f4e9..76cf5f2c48f4 100644 --- a/hw/mips/mips_malta.c +++ b/hw/mips/mips_malta.c @@ -1033,7 +1033,7 @@ void mips_malta_init(MachineState *machine) fl_idx++; if (kernel_filename) { ram_low_size =3D MIN(ram_size, 256 << 20); - /* For KVM T&E we reserve 1MB of RAM for running bootloader */ + /* For KVM we reserve 1MB of RAM for running bootloader */ if (kvm_enabled()) { ram_low_size -=3D 0x100000; bootloader_run_addr =3D 0x40000000 + ram_low_size; @@ -1057,10 +1057,10 @@ void mips_malta_init(MachineState *machine) bootloader_run_addr, kernel_entry); } } else { - /* The flash region isn't executable from a KVM T&E guest */ + /* The flash region isn't executable from a KVM guest */ if (kvm_enabled()) { error_report("KVM enabled but no -kernel argument was spec= ified. " - "Booting from flash is not supported with KVM= T&E."); + "Booting from flash is not supported with KVM= =2E"); exit(1); } /* Load firmware from flash. */ --=20 1.9.3