qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 06/19] monitor: do_info_cpus(): Use QBool


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 06/19] monitor: do_info_cpus(): Use QBool
Date: Thu, 10 Dec 2009 07:10:25 -0600
User-agent: Thunderbird 2.0.0.23 (X11/20090825)

Luiz Capitulino wrote:
On Thu, 10 Dec 2009 07:01:22 -0600
Anthony Liguori <address@hidden> wrote:

Markus Armbruster wrote:
Do we want to specify the base for numbers in the JSON?

If yes, why not use decimal everywhere?

Aside, if we use hexadecimal in JSON at all, then I'd prefer addresses
to be hexadecimal.
Hexadecimal is not valid to represent numbers in JSON.

 We can return a string.

When it comes to returning u64s, we'll have to send these over the wire as s64s. It's not ideal but it's the only way to support languages that don't distinguish between signed and unsigned types.

--
Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]