From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: Re: LAPIC soft-disable vs. LVT masking Date: Mon, 20 Oct 2008 17:46:35 +0800 Message-ID: <200810201746.35506.sheng.yang@intel.com> References: <48FC4607.10803@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: "kvm-devel" To: Jan Kiszka Return-path: Received: from mga09.intel.com ([134.134.136.24]:56685 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750745AbYJTJsF (ORCPT ); Mon, 20 Oct 2008 05:48:05 -0400 In-Reply-To: <48FC4607.10803@siemens.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Monday 20 October 2008 16:49:11 Jan Kiszka wrote: > Hi Sheng, > > obviously, I meditated too long over the APIC specs and VAPIC code of > KVM: When the guest resets the soft-enable bit in SVR, the in-kernel > APIC implementation also set the LVT masked bits - so far, so fine > (according to specs). But I failed to read out of that doc if those mask > bits are permanently set (until the guest clears them again) or only > until the soft-disabling ends (ie. they are restored to their previous > state - QEMU goes this way). Can you clarify? > > Thanks, > Jan > Hi Jan I also can't find related info in the spec. But I think, when software enable bit is cleaned, the spec said the mask bits are set, which means the content of register is changed. And no words for what happen if set software enable bit, so I think it maybe retain the mask state after software enable (a little more possibility). I will give a update if I got more infos. -- regards Yang, Sheng