[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Stefan Hajnoczi
On Mon, Nov 26, 2012 at 1:43 PM, Andreas Färber afaer...@suse.de wrote: Am 26.11.2012 13:10, schrieb Stefan Hajnoczi: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a NULL function pointer is invoked. It is possible to trigger this

[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Michael Roth
On Mon, Nov 26, 2012 at 01:10:12PM +0100, Stefan Hajnoczi wrote: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a NULL function pointer is invoked. It is possible to trigger this crash as follows: $ qemu-system-x86_64 -netdev

[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Michael Roth
On Mon, Nov 26, 2012 at 02:22:58PM +0100, Stefan Hajnoczi wrote: On Mon, Nov 26, 2012 at 1:43 PM, Andreas Färber afaer...@suse.de wrote: Am 26.11.2012 13:10, schrieb Stefan Hajnoczi: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a

[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Stefan Hajnoczi
On Mon, Nov 26, 2012 at 1:43 PM, Andreas Färber afaer...@suse.de wrote: Am 26.11.2012 13:10, schrieb Stefan Hajnoczi: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a NULL function pointer is invoked. It is possible to trigger this

[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Michael Roth
On Mon, Nov 26, 2012 at 01:10:12PM +0100, Stefan Hajnoczi wrote: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a NULL function pointer is invoked. It is possible to trigger this crash as follows: $ qemu-system-x86_64 -netdev

[Bug 1079713] Re: [Qemu-devel] [PATCH 1.3] qapi: handle visitor-type_size() in QapiDeallocVisitor

2012-11-26 Thread Michael Roth
On Mon, Nov 26, 2012 at 02:22:58PM +0100, Stefan Hajnoczi wrote: On Mon, Nov 26, 2012 at 1:43 PM, Andreas Färber afaer...@suse.de wrote: Am 26.11.2012 13:10, schrieb Stefan Hajnoczi: visit_type_size() requires either visitor-type_size() or visitor_uint64() to be implemented, otherwise a