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

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

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]