From: Jan Kiszka Subject: Re: [Qemu-devel] [0.14?][PATCH 3/4] ioapic: Prepare for base address relocation Date: Thu, 03 Feb 2011 18:18:24 +0100 Message-ID: <4D4AE360.1050905@siemens.com> References: <0072079efad1c31da849cff7ad2cb426aeb6c29f.1296744934.git.jan.kiszka@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "qemu-devel@nongnu.org" , Anthony Liguori , Gleb Natapov , Marcelo Tosatti , Alexander Graf , "kvm@vger.kernel.org" , Avi Kivity To: Blue Swirl Return-path: Received: from goliath.siemens.de ([192.35.17.28]:24592 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756170Ab1BCRSn (ORCPT ); Thu, 3 Feb 2011 12:18:43 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 2011-02-03 18:03, Blue Swirl wrote: > On Thu, Feb 3, 2011 at 2:55 PM, Jan Kiszka wrote: >> The registers of real IOAPICs can be relocated during runtime (via >> chipset registers). We don't support this yet, but qemu-kvm carries the >> current base address in its version 2 vmstate. >> >> To align both implementations for migratability, add the proper >> infrastructure to accept initial as well as updated base addresses and >> include the current address in the vmstate. This is done in a way that >> will also allow multiple IOAPICs in the future. > > Nack, the addresses should be device properties. Hmm.... we could make default_base_address a property. Will change that. But current_base_address is just the same as apicbase and can't be a property. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux