Re: [PATCH] virsh: fixed domdisplay command

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

 



On Mon, Jul 23, 2012 at 02:25:23PM -0500, Doug Goldstein wrote:
> On Mon, Jul 23, 2012 at 1:51 PM, Martin Kletzander <mkletzan@xxxxxxxxxx> wrote:
> > The 'domdisplay' command didn't properly evaluate '--include-password'
> > option.
> > ---
> >  tools/virsh.c |   35 +++++++++++++++++++++++------------
> >  1 files changed, 23 insertions(+), 12 deletions(-)
> >
> > diff --git a/tools/virsh.c b/tools/virsh.c
> > index 5888d6c..e0765ba 100644
> > --- a/tools/virsh.c
> > +++ b/tools/virsh.c
> > @@ -66,6 +66,7 @@
> >  #include "virtypedparam.h"
> >  #include "intprops.h"
> >  #include "conf/virdomainlist.h"
> > +#include "datatypes.h"
> 
> Why exactly is this necessary? No new types are being used that aren't
> used throughout this whole file.

Indeed, datatypes.c is for the libvirt private details of
the public objects. virsh is a public API consumer, so has
no justification for using this include.

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]