From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRgLT-00058n-Gc for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRgLN-0001yU-6f for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:45:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRgLM-0001yO-Vd for qemu-devel@nongnu.org; Wed, 10 Sep 2014 07:45:49 -0400 Message-ID: <54102F17.20307@redhat.com> Date: Wed, 10 Sep 2014 12:59:35 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1410265809-27247-1-git-send-email-pbonzini@redhat.com> <1410265809-27247-5-git-send-email-pbonzini@redhat.com> <87bnqp2add.fsf@troll.troll> <540F008B.9030709@redhat.com> <20140910120200.GB11524@redhat.com> In-Reply-To: <20140910120200.GB11524@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 04/10] pcspk: adding vmstate for save/restore List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: amit.shah@redhat.com, dgilbert@redhat.com, qemu-devel@nongnu.org, Pavel.Dovgaluk@ispras.ru, quintela@redhat.com Il 10/09/2014 14:02, Michael S. Tsirkin ha scritto: > That's not too hard: we need two types that only > differ in the vmstate. > Use the correct one to create the device depending > on the pc type. > > Put in that light, we definitely did create new > devices while keeping old ones around for > compatibility. Do you have an example? I can think of one that we did in RHEL (hda) but it was never upstream. Paolo