Re: [Qemu-devel] [PATCH 1/8] qapi: Add Visitor interfaces for uint*_t and int*_t

2012-06-09 Thread Michael Roth
On Sat, Jun 09, 2012 at 05:33:14PM +0200, Laszlo Ersek wrote: > On 06/09/12 17:16, Andreas Färber wrote: > > Am 09.06.2012 17:03, schrieb Laszlo Ersek: > >> On 06/08/12 17:35, Andreas Färber wrote: > >>> From: Michael Roth > >>> > >>> This adds visitor interfaces for fixed-width integers types. >

Re: [Qemu-devel] [PATCH 1/8] qapi: Add Visitor interfaces for uint*_t and int*_t

2012-06-09 Thread Laszlo Ersek
On 06/09/12 17:16, Andreas Färber wrote: > Am 09.06.2012 17:03, schrieb Laszlo Ersek: >> On 06/08/12 17:35, Andreas Färber wrote: >>> From: Michael Roth >>> >>> This adds visitor interfaces for fixed-width integers types. >>> Implementing these in visitors is optional, otherwise we fall back to >>

Re: [Qemu-devel] [PATCH 1/8] qapi: Add Visitor interfaces for uint*_t and int*_t

2012-06-09 Thread Andreas Färber
Am 09.06.2012 17:03, schrieb Laszlo Ersek: > On 06/08/12 17:35, Andreas Färber wrote: >> From: Michael Roth >> >> This adds visitor interfaces for fixed-width integers types. >> Implementing these in visitors is optional, otherwise we fall back to >> visit_type_int() (int64_t) with some additional

Re: [Qemu-devel] [PATCH 1/8] qapi: Add Visitor interfaces for uint*_t and int*_t

2012-06-09 Thread Laszlo Ersek
On 06/08/12 17:35, Andreas Färber wrote: > From: Michael Roth > > This adds visitor interfaces for fixed-width integers types. > Implementing these in visitors is optional, otherwise we fall back to > visit_type_int() (int64_t) with some additional bounds checking to avoid > integer overflows for

[Qemu-devel] [PATCH 1/8] qapi: Add Visitor interfaces for uint*_t and int*_t

2012-06-08 Thread Andreas Färber
From: Michael Roth This adds visitor interfaces for fixed-width integers types. Implementing these in visitors is optional, otherwise we fall back to visit_type_int() (int64_t) with some additional bounds checking to avoid integer overflows for cases where the value fetched exceeds the bounds of