[libvirt] [PATCH 04/10] capabilities, cpu: use new array API

Daniel P. Berrange berrange at redhat.com
Thu Nov 18 09:50:37 UTC 2010


On Wed, Nov 17, 2010 at 09:28:56PM -0700, Eric Blake wrote:
> * src/conf/capabilities.h (_virCaps, _virCapsHost, _virCapsGuest)
> (_virCapsGuestArch): Add additional fields.
> * src/conf/cpu_conf.h (_virCPUDef): Likewise.
> * src/conf/capabilities.c (virCapabilitiesFormatXML): Reflect
> updated type.
> (virCapabilitiesAddGuest, virCapabilitiesAddHostFeature)
> (virCapabilitiesAddHostMigrateTransport)
> (virCapabilitiesAddHostNUMACell, virCapabilitiesAddGuestFeature)
> (virCapabilitiesAddGuestDomain): Use new array APIs.
> * src/conf/cpu_conf.c (virCPUDefAddFeature, virCPUDefCopy)
> (virCPUDefParseXML): Likewise.
> * tests/testutilsqemu.c (testQemuCapsInit): Adjust test.
> ---
>  src/conf/capabilities.c |   37 +++++++++++++++++--------------------
>  src/conf/capabilities.h |   20 +++++++++++++-------
>  src/conf/cpu_conf.c     |    7 +++++--
>  src/conf/cpu_conf.h     |    5 +++--
>  tests/testutilsqemu.c   |    1 +
>  5 files changed, 39 insertions(+), 31 deletions(-)

ACK

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.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