diff options
| author | Vasilis Liaskovitis | 2013-07-29 16:47:55 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-07-30 02:33:33 +0200 |
| commit | b887796217b7f5b754657e85760693e4ced63356 (patch) | |
| tree | af8fc662f78bca98ae19d05276cc527084f14662 /include | |
| parent | pc: add Q35 to QOM composition tree under /machine (diff) | |
| download | qemu-b887796217b7f5b754657e85760693e4ced63356.tar.gz qemu-b887796217b7f5b754657e85760693e4ced63356.tar.xz qemu-b887796217b7f5b754657e85760693e4ced63356.zip | |
qapi: make visit_type_size fallback to type_int
Currently visit_type_size checks if the visitor's type_size function pointer is
NULL. If not, it calls it, otherwise it calls v->type_uint64(). But neither of
these pointers are ever set. Fallback to calling v->type_int() in this third
(default) case.
Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375109277-25561-6-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
