qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] pflash_cfi02.c: associate "cfi.pflash02" to "Storage devices" category
@ 2014-12-07 18:20 Antony Pavlov
  2014-12-10  9:11 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  2014-12-10 11:29 ` Michael Tokarev
  0 siblings, 2 replies; 4+ messages in thread
From: Antony Pavlov @ 2014-12-07 18:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Antony Pavlov

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 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 = {
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-10 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 18:20 [Qemu-devel] [PATCH] pflash_cfi02.c: associate "cfi.pflash02" to "Storage devices" category Antony Pavlov
2014-12-10  9:11 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-12-10  9:52   ` Paolo Bonzini
2014-12-10 11:29 ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).