From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B711381D36 for ; Fri, 4 Nov 2016 08:29:14 -0700 (PDT) Received: by mail-wm0-x244.google.com with SMTP id c17so4416914wmc.3 for ; Fri, 04 Nov 2016 08:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=i7MpQPVlF2lOE8jqnRfLGOHalqzOV/PVY4sjS7IbO+c=; b=xh9I0ChMP9v+pZyp1VwhxcxOacYIpHBQnBRjVrWg2s2SoqbHOPHRkQ7AMFeRtfAmzU bphu7cGh8O+f0pCBJnKoYTMrj4+EdCDkz5RHWhMnfT2pyMXdHh8ogLYQM+24ffcu7kiQ 6vdYd4afkvI+Mkqbbki9W28j1jSZSpde6zRGrSk0DKrfD/R1NW/EajzNTc876lfsAF9U 7SnjWtazRZv0qZGuXL64nYRCgt22PBY/3CVyW0mlVjwDlLV680fmwoYB1Nu7dERw9JQl ESh+wlYKkcvJ2G2z5rN0eZPkLm9xEbBFUDzTIlJ4AE1xgnehJvjO2ftUSi1Y3RDLG/dB aErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=i7MpQPVlF2lOE8jqnRfLGOHalqzOV/PVY4sjS7IbO+c=; b=ONLeBGTG9lXFT1ljs+psFZu4vuK9wOQrBQvDxjBnfTncFPlULqe89Cm3cYz2d2+WaW rRV5XQhOkptuZkUDcSz2DNuPEdED4opDcMZJZ83zLxH9lC8myZuIg7UXgY4suankW2jm BcTHUvXaVDvEBPSIJHarnp/yJqgE8+3jJQKQ4wMnzUwM8L82CUfz2apGDqc0FjydWnle 1Im7vlpnpAn3c2yWGN4HBkRP/jJoUTOgFZ4mCjBP4n8Ye43St2zCwOjNt/s4YxPLOAH8 JowKwdlA1FLcJ/LVFw24ohsegTyZpAt4zgv6pOboPrr8aVgi/MvLrq+C6h+ugP/7w5fP X7YA== X-Gm-Message-State: ABUngvfk99C49UwZqMllN8+LuljkR0WaZPlSUTmE/Iea+dQTKNQHuQfmC0kPhqC77dPCBQ== X-Received: by 10.194.102.165 with SMTP id fp5mr12136416wjb.134.1478273355335; Fri, 04 Nov 2016 08:29:15 -0700 (PDT) Received: from [192.168.10.165] (dynamic-adsl-78-12-246-178.clienti.tiscali.it. [78.12.246.178]) by smtp.googlemail.com with ESMTPSA id cl10sm6355556wjb.4.2016.11.04.08.29.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 08:29:14 -0700 (PDT) Sender: Paolo Bonzini To: Laszlo Ersek , "Yao, Jiewen" References: <1478156028-21572-1-git-send-email-jiewen.yao@intel.com> <74D8A39837DF1E4DA445A8C0B3885C50386BDEF5@shsmsx102.ccr.corp.intel.com> Cc: "Tian, Feng" , =?UTF-8?B?UmFkaW0gS3I/bcOhPw==?= , "edk2-devel@ml01.01.org" , "Kinney, Michael D" , "Fan, Jeff" , "Zeng, Star" From: Paolo Bonzini Message-ID: <39fc5ad3-1b27-2414-a327-6ec09cfff551@redhat.com> Date: Fri, 4 Nov 2016 16:29:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: [PATCH 0/6] Enable SMM page level protection. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 15:29:15 -0000 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit On 04/11/2016 16:22, Laszlo Ersek wrote: >> > What does this *KVM internal error. Suberror: 1* mean? > The key message is "emulation failure" -- it means that the processor > exits to the hypervisor (KVM) because it finds some code that it cannot > execute in guest mode natively, so the hypervisor needs to emulate it. > And, this emulation fails. The reasons can be: > - the code is valid, but KVM lacks the emulation code for it, > - the code is actually garbage (not code) -- there was some corruption > in the guest (the location used to contain code but it was corrupted, or > the guest jumped to non-code data). > > Usually the register dump contains a short hexadecimal snippet from the > instruction stream (near Code=...), pinpointing the byte that caused the > problem. However, in this case, all we have is question marks, and this > is the very first time I see those. That's why I CC'd Paolo and Radim :) The question marks usually mean that the page tables do not map a page at that address, but I don't know offhand why KVM would fail emulation instead of triple-faulting. Try "info tlb" to dump the page tables (huge output of course, you may want to use the GTK+ backend which has scrollable consoles). Paolo