[libvirt] PATCH: Add NUMA apis to remote driver

Daniel P. Berrange berrange at redhat.com
Tue May 20 11:56:40 UTC 2008


On Tue, May 20, 2008 at 01:49:08PM +0200, Jim Meyering wrote:
> "Daniel P. Berrange" <berrange at redhat.com> wrote:
> > For some reason the virNodeGetFreeMemroy and virNodeGetCellsFreeMemory
> > NUMA APIs were never added to the remote driver. THis patch fixes that.
> > It also updates the 2 perl scripts which post-process the RPC files to
> > not insert TABs, since we'd previously removed them from all the generated
> > files. Finally, the remote_protocol.x has TAB -> SPACE conversion since
> > we missed that first time around
> >
> >  qemud/remote.c                      |   47 +
> >  qemud/remote_dispatch_localvars.h   |    3
> >  qemud/remote_dispatch_proc_switch.h |   15
> >  qemud/remote_dispatch_prototypes.h  |    2
> >  qemud/remote_generate_stubs.pl      |   20
> >  qemud/remote_protocol.c             |   30 +
> >  qemud/remote_protocol.h             |  918 ++++++++++++++++++------------------
> >  qemud/remote_protocol.x             |   21
> >  qemud/rpcgen_fix.pl                 |    4
> >  src/remote_internal.c               |   55 ++
> >  10 files changed, 657 insertions(+), 458 deletions(-)
> 
> Hi Dan,
> 
> Looks fine.  Though you'll want to undo the global
> re-indentation-with-TABs in qemud/remote_protocol.h:
> Even ignoring all of the lines where 8-spaces -> TAB,
> there are a few new TABs:

This is an autogenerated file. I mistakenly only fixed generation of the
C file and not the header. I'll redo the generation & fixup.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list