[libvirt] [PATCH v6 07/17] qemu: assign e1000e network devices to PCIe slots when appropriate
Andrea Bolognani
abologna at redhat.com
Tue Nov 8 14:56:02 UTC 2016
On Mon, 2016-11-07 at 14:50 -0500, Laine Stump wrote:
> The e1000e is an emulated network device based on the Intel 82574,
> present in qemu 2.7.0 and later. Among other differences from the
> e1000, it presents itself as a PCIe device rather than legacy PCI. In
> order to get it assigned to a PCIe controller, this patch updates the
> flags setting for network devices when the model name is "e1000e".
>
> (Note that for some reason libvirt has never validated the network
> device model names other than to check that there are no dangerous
> characters in them. That should probably change, but is the subject of
> another patch.)
>
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1343094
> ---
> src/qemu/qemu_domain_address.c | 6 ++++--
> tests/qemuxml2argvdata/qemuxml2argv-q35-pcie.args | 23 ++++++++++++----------
> tests/qemuxml2argvdata/qemuxml2argv-q35-pcie.xml | 4 ++++
> .../qemuxml2argv-q35-virtio-pci.args | 3 +++
> .../qemuxml2xmloutdata/qemuxml2xmlout-q35-pcie.xml | 23 +++++++++++++---------
> .../qemuxml2xmlout-q35-virtio-pci.xml | 5 +++++
> 6 files changed, 43 insertions(+), 21 deletions(-)
ACK
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list