aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-12-11 17:05:13 -0500
committerEduardo Habkost <ehabkost@redhat.com>2020-12-18 15:20:17 -0500
commit45efa07f0f0cc8b3a6514c9743d29d73693aa8b1 (patch)
tree849fd2e5ab270c922e911c9986ae2c82ab869497 /cpu.c
parentce35e2295ea10caa97e223c1254e345a888e7ed8 (diff)
downloadqemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.zip
qemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.tar.gz
qemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.tar.bz2
qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros
Instead of duplicating the code that sets name, info, offset, and does type checking, make DEFINE_PROP accept a variable number of arguments and reuse it in all DEFINE_PROP_* macros. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201211220529.2290218-17-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions