]> git.proxmox.com Git - mirror_qemu.git/commit - numa.c
qom: Don't pass string table to object_get_enum() function
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 27 May 2015 15:07:56 +0000 (16:07 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 19 Jun 2015 16:42:48 +0000 (18:42 +0200)
commita3590dacce94519c1747d8bf423744c6bb7d9941
treeb598151b5822753634082f7a634065009281e877
parenta8e3fbedc827f992657f5670212e854f62ec12ad
qom: Don't pass string table to object_get_enum() function

Now that properties can be explicitly registered as an enum
type, there is no need to pass the string table to the
object_get_enum() function. The object property registration
already has a pointer to the string table.

In changing this method signature, the hostmem backend object
has to be converted to use the new enum property registration
code, which simplifies it somewhat.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
backends/hostmem.c
include/qom/object.h
numa.c
qom/object.c
tests/check-qom-proplist.c