qdev: Switch property accessors to fixed-width visitor interfaces
commitc08fb2ac000b636a8426e69d93f7340274d76c9e
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 22 Feb 2012 18:26:37 +0000 (22 12:26 -0600)
committerAndreas Färber <afaerber@suse.de>
Fri, 8 Jun 2012 14:11:14 +0000 (8 16:11 +0200)
tree1fe55250676b35908c7474fd652048e387aaea47
parent09f1bbcd834c63da35b3fe190fcd9a20d7b04f07
qdev: Switch property accessors to fixed-width visitor interfaces

This introduces {get,set}_uint{8,16,32,64}() functions for the
respective qdev types.
TADDR and VLAN are switched to explicit int64, BLOCKSIZE to uint16.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/qdev-addr.c
hw/qdev-properties.c