From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: SMP reboot issue Date: Wed, 10 Oct 2007 12:26:12 +0200 Message-ID: <470CA8C4.1020208@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A02364257@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02364257-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dong, Eddie wrote: > SMP reboot failed with various phenomena such as user level > "unhandled vm exit: 0x80000021 ..." when rebooting SMP RHEL5U > or "execption 8 (0)..." when rebooting XP etc. The reason is that > we are not correctly reset VCPU. create_vcpu does some initialization > work which should be part of reset job. So reset_vcpu can't do full > VCPU reset and thus cause AP reboot failure. > The best approach is to re-org above 2 functions to make it > clear that everything will be re-initialized in vcpu_reset. create_vcpu > probably only allocate memory and do initialization only for those > communicating with user level data structure. while leave others > including MMU reset to vcpu_reset. For now, let us > use this small patch to fix current issue: GUEST_CR3 in VMCS is > not correctly reseted due to enter_rmode issue. > With this I get XPSP2 acpi SMP guest reboot successfully > and also SMP Linux RHEL5U. > thanks, eddie > > > Applied, thanks, -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/