]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
qdev: Introduce PropertyInfo.create
authorFam Zheng <famz@redhat.com>
Fri, 14 Jul 2017 02:14:51 +0000 (10:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 10:04:42 +0000 (12:04 +0200)
commitfaabdbb792889bf011a593578d1de51e14616bb7
tree463f083cf9cb60b20bd76b5acc609a0b3576cf57
parent8f5d58ef2c92d7b82d9a6eeefd7c8854a183ba4a
qdev: Introduce PropertyInfo.create

This allows property implementation to provide a specialized property
creation method.

Update conditions guarding property types accordingly.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-3-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/qdev.c
include/hw/qdev-core.h
qmp.c