From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWA20-0002oJ-5m for qemu-devel@nongnu.org; Wed, 29 Jul 2009 10:21:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWA1u-0002k6-NZ for qemu-devel@nongnu.org; Wed, 29 Jul 2009 10:21:23 -0400 Received: from [199.232.76.173] (port=42446 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWA1u-0002jq-HZ for qemu-devel@nongnu.org; Wed, 29 Jul 2009 10:21:18 -0400 Received: from mx2.redhat.com ([66.187.237.31]:39143) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWA1u-0002MG-4z for qemu-devel@nongnu.org; Wed, 29 Jul 2009 10:21:18 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6TELHnw023328 for ; Wed, 29 Jul 2009 10:21:17 -0400 Date: Wed, 29 Jul 2009 17:21:15 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH v2] make windows notice media change Message-ID: <20090729142115.GC30449@redhat.com> References: <20090729120719.GN30449@redhat.com> <20090729135057.GY30449@redhat.com> <4A705B0B.1070101@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A705B0B.1070101@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On Wed, Jul 29, 2009 at 05:22:03PM +0300, Avi Kivity wrote: > On 07/29/2009 04:50 PM, Gleb Natapov wrote: >> @@ -2898,6 +2901,7 @@ static void ide_load(QEMUFile* f, IDEState *s) >> >> qemu_get_8s(f,&s->sense_key); >> qemu_get_8s(f,&s->asc); >> + qemu_get_8s(f,&s->cdrom_changed); >> /* XXX: if a transfer is pending, we do not save it yet */ >> } >> >> > > Needs to be conditional on version, no? > I changed version check in vmload. -- Gleb.