Re: [libvirt] [PATCH 17/35] qemu: Refactor qemuDomainGetInfo

2015-06-03 Thread Ján Tomko
On Fri, May 29, 2015 at 03:33:38PM +0200, Peter Krempa wrote: Since the returned structure uses unsigned long for memory sizes add a few overflow checks to notify the user in case we are not able to represent given values. --- src/qemu/qemu_driver.c | 41

[libvirt] [PATCH 17/35] qemu: Refactor qemuDomainGetInfo

2015-05-29 Thread Peter Krempa
Since the returned structure uses unsigned long for memory sizes add a few overflow checks to notify the user in case we are not able to represent given values. --- src/qemu/qemu_driver.c | 41 - 1 file changed, 24 insertions(+), 17 deletions(-) diff --git