[libvirt] [PATCHv3 25/27] virCaps: get rid of defaultDiskDriverName

Daniel P. Berrange berrange at redhat.com
Tue Mar 12 12:48:30 UTC 2013


On Mon, Mar 11, 2013 at 04:06:36PM +0100, Peter Krempa wrote:
> This patch removes the defaultDiskDriverName from the virCaps
> structure. This particular default value is used only in the qemu driver
> so this patch uses the recently added callback to fill the driver name
> if it's needed instead of propagating it through virCaps.
> ---
>  src/conf/capabilities.h           |  1 -
>  src/conf/domain_conf.c            |  8 --------
>  src/qemu/qemu_conf.c              |  5 ++---
>  src/qemu/qemu_conf.h              |  3 ++-
>  src/qemu/qemu_domain.c            | 25 ++++++++++++++++++++++---
>  src/qemu/qemu_driver.c            |  2 +-
>  tests/domainsnapshotxml2xmltest.c |  2 +-
>  tests/qemuargv2xmltest.c          |  2 +-
>  tests/qemumonitorjsontest.c       |  2 +-
>  tests/qemuxml2argvtest.c          |  2 +-
>  tests/qemuxml2xmltest.c           |  2 +-
>  tests/qemuxmlnstest.c             |  2 +-
>  tests/securityselinuxlabeltest.c  |  2 +-
>  13 files changed, 34 insertions(+), 24 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