Re: [PATCH v5.1 04/11] qemu: Record the default NIC model in the domain XML

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

 



On Thu, Apr 04, 2013 at 02:10:14PM +0200, Peter Krempa wrote:
> This patch implements the devices post parse cllback and uses it to fill
> the default qemu network card model into the XML if none is specified.
> 
> Libvirt assumes that the network card model for qemu is the "rtl8139".
> Record this in the XML using the new callback to avoid user
> confusion.
> ---
>  src/qemu/qemu_conf.c                               |  2 +-
>  src/qemu/qemu_domain.c                             | 25 ++++++++++++++++++++++
>  src/qemu/qemu_domain.h                             |  1 +
>  .../qemuxml2argv-net-bandwidth.xml                 |  1 +
>  .../qemuxml2argvdata/qemuxml2argv-net-client.args  |  4 ++--
>  .../qemuxml2argv-net-eth-ifname.args               |  4 ++--
>  .../qemuxml2argv-net-eth-ifname.xml                |  1 +
>  .../qemuxml2argv-net-eth-names.args                |  8 +++----
>  tests/qemuxml2argvdata/qemuxml2argv-net-eth.args   |  4 ++--
>  tests/qemuxml2argvdata/qemuxml2argv-net-eth.xml    |  1 +
>  .../qemuxml2argvdata/qemuxml2argv-net-hostdev.xml  |  1 +
>  tests/qemuxml2argvdata/qemuxml2argv-net-mcast.args |  4 ++--
>  .../qemuxml2argv-net-openvswitch.xml               |  1 +
>  .../qemuxml2argvdata/qemuxml2argv-net-server.args  |  4 ++--
>  tests/qemuxml2argvdata/qemuxml2argv-net-user.args  |  3 ++-
>  tests/qemuxml2argvdata/qemuxml2argv-net-user.xml   |  1 +
>  .../qemuxml2argv-net-virtio-network-portgroup.xml  |  2 ++
>  .../qemuxml2xmlout-graphics-spice-timeout.xml      |  1 +
>  18 files changed, 52 insertions(+), 16 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 :|

--
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]