From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] kvm: bios: end AP boot code execution in rombios Date: Sun, 17 Aug 2008 21:33:11 -0500 Message-ID: <48A8DF67.90600@codemonkey.ws> References: <200807311043.20880.sheng.yang@intel.com> <200808010919.00663.sheng.yang@intel.com> <033901c8f4d6$5b972570$0201a8c0@zeug> <200808051614.33138.sheng.yang@intel.com> <02a901c8f80f$940da820$0201a8c0@zeug> <489E9DAC.3030400@qumranet.com> <1219012543$2777@local> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , "Yang, Sheng" , kvm@vger.kernel.org To: Sebastian Herbszt Return-path: Received: from wr-out-0506.google.com ([64.233.184.224]:45858 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbYHRCdw (ORCPT ); Sun, 17 Aug 2008 22:33:52 -0400 Received: by wr-out-0506.google.com with SMTP id 69so1898130wri.5 for ; Sun, 17 Aug 2008 19:33:52 -0700 (PDT) In-Reply-To: <1219012543$2777@local> Sender: kvm-owner@vger.kernel.org List-ID: Sebastian Herbszt wrote: > Jump to rombios before executing the halt loop. > Why? More importantly, why is this specific to KVM? Regards, Anthony Liguori > Signed-off-by: Sebastian Herbszt > > diff -uNrp a/bios/rombios32start.S b/bios/rombios32start.S > --- a/bios/rombios32start.S 2008-08-17 23:30:42.000000000 +0200 > +++ b/bios/rombios32start.S 2008-08-17 23:38:42.000000000 +0200 > @@ -40,6 +40,7 @@ _start: > > .code16 > smp_ap_boot_code_start: > + cli > xor %ax, %ax > mov %ax, %ds > xor %eax, %eax > @@ -60,6 +61,7 @@ smp_ap_boot_code_start: > 12: > > incw CPU_COUNT_ADDR > + ljmp $0xe000, $(1f-_start) > 1: > hlt > jmp 1b > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >