Re: [Qemu-devel] [PATCH v3 0/7] qapi/range/memory-device: fixes and cleanups

2018-10-31 Thread Eduardo Habkost
On Wed, Oct 31, 2018 at 11:14:48AM +0100, David Hildenbrand wrote: > On 23.10.18 17:22, David Hildenbrand wrote: > > While working on memory device code, I noticed that specifiying an uint64_t > > on command line does not work in all cases as we always parse an int64_t. > > So I fix that and also c

Re: [Qemu-devel] [PATCH v3 0/7] qapi/range/memory-device: fixes and cleanups

2018-10-31 Thread David Hildenbrand
On 23.10.18 17:22, David Hildenbrand wrote: > While working on memory device code, I noticed that specifiying an uint64_t > on command line does not work in all cases as we always parse an int64_t. > So I fix that and also cleanup the old int64_t parser. > > To be able to fix some overflows in mem

[Qemu-devel] [PATCH v3 0/7] qapi/range/memory-device: fixes and cleanups

2018-10-23 Thread David Hildenbrand
While working on memory device code, I noticed that specifiying an uint64_t on command line does not work in all cases as we always parse an int64_t. So I fix that and also cleanup the old int64_t parser. To be able to fix some overflows in memory-device code in a clean way, I am reusing the range