Received: from eggs.gnu.org ([140.186.70.92]:49309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZgt2-0004dP-9H for qemu-devel@nongnu.org; Thu, 23 Jun 2011 06:11:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZgt0-00065z-NA for qemu-devel@nongnu.org; Thu, 23 Jun 2011 06:11:48 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:55279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZgt0-00065v-Bg for qemu-devel@nongnu.org; Thu, 23 Jun 2011 06:11:46 -0400 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <4e01af43.ce4ee50a.60ee.3b47SMTPIN_ADDED@mx.google.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 23 Jun 2011 12:11:43 +0200 References: <001501cc300e$0b66bea0$22343be0$@Dovgaluk@ispras.ru> <49270.9042774097$1308723700@news.gmane.org> <4E01A3FB.5050706@siemens.com> <4e01af43.ce4ee50a.60ee.3b47SMTPIN_ADDED@mx.google.com> Sender: andreas.faerber@web.de Subject: Re: [Qemu-devel] [PATCH] Fix serial interface vmstate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgaluk Cc: 'Jan Kiszka' , 'qemu-devel' , quintela@redhat.com Am 22.06.2011 um 10:58 schrieb Pavel Dovgaluk: >>>>> This patch fixes save/restore of serial interface's state. >>>>> It includes changing of fcr setter function (it now does not >>>>> invoke >>>>> an interrupt while loading vmstate), and saving/restoring all >>>>> fields that describe the state of serial interface (including >>>>> timers). >>>>> >>>>> Signed-off-by: Pavel Dovgalyuk > If the port is disabled, the state will not be saved, isn't it? See the ISA reconfigurability / PReP series for a counter-example [1]. Whether the state is saved depends on whether the isa-serial qdev device is instantiated, not on whether the port is active. Therefore a subsection will be even more useful here. Andreas [1] http://patchwork.ozlabs.org/patch/100274/