[libvirt] [PATCH] json: Avoid passing large positive 64 bit integers to QMP.

We don't seem to be reaching any sort of sensible conclusion with qemu about this bug, so it seems easier (albeit uglier) to fix it on the libvirt side. I have verified that with this patch virDomainMemoryPeek works on 64 bit guests. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/

On 05/25/2011 10:55 AM, Richard W.M. Jones wrote:
We don't seem to be reaching any sort of sensible conclusion with qemu about this bug, so it seems easier (albeit uglier) to fix it on the libvirt side.
I have verified that with this patch virDomainMemoryPeek works on 64 bit guests.
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

On Wed, May 25, 2011 at 11:06:10AM -0600, Eric Blake wrote:
On 05/25/2011 10:55 AM, Richard W.M. Jones wrote:
We don't seem to be reaching any sort of sensible conclusion with qemu about this bug, so it seems easier (albeit uglier) to fix it on the libvirt side.
I have verified that with this patch virDomainMemoryPeek works on 64 bit guests.
ACK.
Thanks, I've pushed it. I'm also going to add this patch to libvirt in Fedora Rawhide. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
participants (2)
-
Eric Blake
-
Richard W.M. Jones