qdev: remove print/parse methods from LostTickPolicy properties
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 2 Feb 2012 21:09:44 +0000 (22:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Feb 2012 12:52:41 +0000 (13:52 +0100)
commit1ce05125571e9dbbd16e1de0f8924fe45bef2bf0
tree74df8e956ee118aa0a3829b2e776d9e5c5919b1c
parentacbac4a1dc974a3915760b4551336544c4360241
qdev: remove print/parse methods from LostTickPolicy properties

Also generalize the code so that we can have more enum properties
in the future.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/qdev-properties.c
hw/qdev.h
qemu-common.h