Re: [Qemu-devel] [PATCH v3 11/43] qapi: update the qobject visitor to use QNUM_U64

2017-06-08 Thread Markus Armbruster
Marc-André Lureau writes: > Switch to use QNum/uint where appropriate to remove i64 limitation. > > The input visitor will cast i64 input to u64 for compatibility > reasons (existing json QMP client already use negative i64 for large > u64, and expect an implicit

[Qemu-devel] [PATCH v3 11/43] qapi: update the qobject visitor to use QNUM_U64

2017-06-07 Thread Marc-André Lureau
Switch to use QNum/uint where appropriate to remove i64 limitation. The input visitor will cast i64 input to u64 for compatibility reasons (existing json QMP client already use negative i64 for large u64, and expect an implicit cast in qemu). Note: before the patch, uint64_t values above