[libvirt] [PATCH 3/7] qemu: Use switch instead of ifs in qemuBuildGraphicsCommandLine

Daniel P. Berrange berrange at redhat.com
Tue Apr 23 16:15:17 UTC 2013


On Tue, Apr 23, 2013 at 03:46:10PM +0200, Peter Krempa wrote:
> Switch the function from a bunch of ifs to a switch statement with
> correct type and reflow some code.
> 
> Also fix comment in enum describing possible graphics types
> ---
>  src/conf/domain_conf.h  |  2 +-
>  src/qemu/qemu_command.c | 37 ++++++++++++++++++-------------------
>  2 files changed, 19 insertions(+), 20 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 :|




More information about the libvir-list mailing list