From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laszlo Ersek Subject: Re: [edk2] apparent SMBASE relocation issue with noexec enabled [was: MdeModulePkg DxeIpl: Add stack NX support] Date: Fri, 7 Aug 2015 00:38:25 +0200 Message-ID: <55C3E1E1.70504@redhat.com> References: <1438345360-7076-1-git-send-email-star.zeng@intel.com> <55C22EC0.2030400@redhat.com> <43260721-AB29-4182-8961-D33A70C5377B@apple.com> <55C23994.4000804@redhat.com> <0C09AFA07DD0434D9E2A0C6AEB04831002175554@shsmsx102.ccr.corp.intel.com> <55C31D59.6060400@redhat.com> <0C09AFA07DD0434D9E2A0C6AEB04831002175A03@shsmsx102.ccr.corp.intel.com> <55C36446.1030904@redhat.com> <55C36FB3.2040602@redhat.com> <55C3755D.4000408@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "edk2-devel@ml01.01.org" , KVM devel mailing list , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: Paolo Bonzini Return-path: In-Reply-To: <55C3755D.4000408@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" List-Id: kvm.vger.kernel.org On 08/06/15 16:55, Paolo Bonzini wrote: > > > On 06/08/2015 16:31, Laszlo Ersek wrote: >>> kvm_cpuid: func 80000001 rax 6e8 rbx 0 rcx 0 rdx 100000 >>> kvm_enter_smm: vcpu 0: leaving SMM, smbase 0x7ffc0000 >>> kvm_entry: vcpu 0 >>> kvm_exit: reason TRIPLE_FAULT rip 0x7ffdb6b2 info 0 0 >>> kvm_userspace_exit: reason KVM_EXIT_SHUTDOWN (8) > > Can you provide a trace with both kvm and kvmmmu events enabled? The "trace-cmd report" command printed the following to stderr: trace-cmd: No such file or directory function is_writable_pte not defined Not sure how serious that is; FWIW it did produce a human readable report. Please find it at . The trace covers the full lifetime of the guest (I started tracing before launching the guest, and I passed -no-reboot to qemu, so when the guest crashed, QEMU exited.) This was on 3.10.0-299.el7.x86_64. Thank you! Laszlo