From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: LAPIC soft-disable vs. LVT masking Date: Mon, 20 Oct 2008 10:49:11 +0200 Message-ID: <48FC4607.10803@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Yang, Sheng" Return-path: Received: from lizzard.sbs.de ([194.138.37.39]:21896 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751017AbYJTIwI (ORCPT ); Mon, 20 Oct 2008 04:52:08 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux