Received: from eggs.gnu.org ([2001:4830:134:3::10]:48766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XydIt-00044E-44 for qemu-devel@nongnu.org; Wed, 10 Dec 2014 04:11:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XydIm-0005CL-Vm for qemu-devel@nongnu.org; Wed, 10 Dec 2014 04:11:27 -0500 Message-ID: <54880E36.9080701@msgid.tls.msk.ru> Date: Wed, 10 Dec 2014 12:11:18 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1417976445-18860-1-git-send-email-antonynpavlov@gmail.com> In-Reply-To: <1417976445-18860-1-git-send-email-antonynpavlov@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] pflash_cfi02.c: associate "cfi.pflash02" to "Storage devices" category List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antony Pavlov , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Kevin Wolf , Stefan Hajnoczi 07.12.2014 21:20, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > hw/block/pflash_cfi02.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c > index 8513a17..389b4aa 100644 > --- a/hw/block/pflash_cfi02.c > +++ b/hw/block/pflash_cfi02.c > @@ -744,6 +744,7 @@ static void pflash_cfi02_class_init(ObjectClass *klass, void *data) > > dc->realize = pflash_cfi02_realize; > dc->props = pflash_cfi02_properties; > + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); > } > > static const TypeInfo pflash_cfi02_info = { Hm. While the patch itself is trivial, and it _seems_ it fixes a bug, I'm not sure of possible effects of this. What prob it has now, does this device work? If yes, why it needs fixing? Do we care about compatibility with previous versions, about migration? Cc'ing block device people... Thanks, /mjt