aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-12-07 21:20:45 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2014-12-10 14:29:25 +0300
commitdf6f93182a898c295d90dd502d49818c6bb98200 (patch)
tree9887a0e82436fb536ff31a0a71f9c0e5c7fac307 /hw/block
parentb196d969efa3987148994f0f8da79a10ebda7641 (diff)
downloadqemu-df6f93182a898c295d90dd502d49818c6bb98200.zip
qemu-df6f93182a898c295d90dd502d49818c6bb98200.tar.gz
qemu-df6f93182a898c295d90dd502d49818c6bb98200.tar.bz2
pflash_cfi02.c: associate "cfi.pflash02" to "Storage devices" category
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/block')
-rw-r--r--hw/block/pflash_cfi02.c1
1 files changed, 1 insertions, 0 deletions
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 = {