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

Re: [libvirt] [PATCH 1/2] qemu: Refactor lookup of domain object



On Fri, Apr 12, 2013 at 03:24:55PM +0200, Peter Krempa wrote:
> Use the helper to lookup the domain object in the remaining places.
> 
> This patch also fixes error reporting when the domain was not found in several
> functions that were printing the raw UUID buffer instead of the formatted
> string. The offending functions were:
> 
> qemuDomainGetInterfaceParameters
> qemuDomainSetInterfaceParameters
> qemuGetSchedulerParametersFlags
> qemuSetSchedulerParametersFlags
> qemuDomainGetNumaParameters
> qemuDomainSetNumaParameters
> qemuDomainGetMemoryParameters
> qemuDomainSetMemoryParameters
> qemuDomainGetBlkioParameters
> qemuDomainSetBlkioParameters
> qemuDomainGetCPUStats
> ---
>  src/qemu/qemu_driver.c | 340 +++++++++++--------------------------------------
>  1 file changed, 73 insertions(+), 267 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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