[libvirt] [PATCH v5.1 10/11] virCaps: get rid of macPrefix field

Daniel P. Berrange berrange at redhat.com
Thu Apr 4 17:08:37 UTC 2013


On Thu, Apr 04, 2013 at 02:10:20PM +0200, Peter Krempa wrote:
> Use the virDomainXMLConf structure to hold this data and tweak the code
> to avoid semantic change.
> 
> Without configuration the KVM mac prefix is used by default. I chose it
> as it's in the privately administered segment so it should be usable for
> any purposes.
> ---
>  src/conf/capabilities.c          | 14 --------------
>  src/conf/capabilities.h          |  9 ---------
>  src/conf/domain_conf.c           | 28 ++++++++++++++++++++++++----
>  src/conf/domain_conf.h           |  3 +++
>  src/esx/esx_driver.c             |  1 -
>  src/libvirt_private.syms         |  3 +--
>  src/libxl/libxl_conf.c           |  2 --
>  src/libxl/libxl_driver.c         |  6 +++++-
>  src/lxc/lxc_conf.c               |  3 ---
>  src/openvz/openvz_conf.c         |  2 --
>  src/openvz/openvz_driver.c       |  2 +-
>  src/parallels/parallels_driver.c | 12 ++++++++----
>  src/phyp/phyp_driver.c           |  4 ----
>  src/qemu/qemu_capabilities.c     |  3 ---
>  src/qemu/qemu_command.c          |  6 +++---
>  src/vbox/vbox_tmpl.c             | 10 +++++++---
>  src/vmware/vmware_conf.c         |  2 --
>  src/vmx/vmx.c                    |  1 +
>  src/xen/xen_driver.c             |  7 ++++++-
>  src/xen/xen_hypervisor.c         |  2 --
>  tests/vmx2xmltest.c              |  1 -
>  tests/xml2vmxtest.c              |  1 -
>  22 files changed, 59 insertions(+), 63 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