From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMct2-0006oz-IP for qemu-devel@nongnu.org; Mon, 21 Dec 2009 02:41:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMcsw-0006l2-7p for qemu-devel@nongnu.org; Mon, 21 Dec 2009 02:40:59 -0500 Received: from [199.232.76.173] (port=42568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMcsv-0006kj-H3 for qemu-devel@nongnu.org; Mon, 21 Dec 2009 02:40:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18402) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMcsu-0000vl-T9 for qemu-devel@nongnu.org; Mon, 21 Dec 2009 02:40:53 -0500 Date: Mon, 21 Dec 2009 09:40:47 +0200 From: Gleb Natapov Message-ID: <20091221074047.GT4490@redhat.com> References: <20091220145200.GA6706@redhat.com> <4B2E3BA0.7080004@codemonkey.ws> <20091220150751.GL4490@redhat.com> <4B2E3E96.7090708@codemonkey.ws> <20091220152346.GM4490@redhat.com> <4B2E42A2.6030600@codemonkey.ws> <20091220153347.GN4490@redhat.com> <4B2E453A.3060004@codemonkey.ws> <20091220155201.GP4490@redhat.com> <4B2E6364.9060903@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2E6364.9060903@codemonkey.ws> Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH 0/8] option rom loading overhaul. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Gerd Hoffmann , qemu-devel@nongnu.org On Sun, Dec 20, 2009 at 11:48:20AM -0600, Anthony Liguori wrote: > >system_reset _is_ hard shutdown/start-up. If it is not it is a bug, we > >just arguing if the same applies for the case that migration was done > >between boot and reset. > > It's not and it will never be completely. There are always bugs left. As long as we agree on what is right that is OK. > By this logic, we should > close the file descriptors for the block devices and try to reopen > them. It's certainly possible that someone does a mv of the block > device and replaces it under the covers. What is the analogue in real HW? BTW it is not a bad idea to get notification when disk file has changed and issue "change device" automatically. > > Likewise, if a user upgrades the firmware independently of the qemu > version, it would need to reread the firmware from disk each boot. > That's the idea. Qemu should reread firmware from disk on each hard reset. -- Gleb.