Bug 1328969

Summary: RFC: qemu: support usb-net
Product: [Community] Virtualization Tools Reporter: Cole Robinson <crobinso>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: LibvirtFirstBug
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-17 16:05:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2016-04-20 18:34:03 UTC
(split out from bug 861345)

We should support qemu's usb-net device. XML something like:

    <interface type='network'>
       [ ... ]
       <model type='usb-net'/>
       <address type='usb' ... />
    </interface>

Previous attempt at patches:

https://www.redhat.com/archives/libvir-list/2013-January/msg00056.html

A good reference commit to see how to implement something like that is this commit adding usb-audio support:

commit e260a0e60a5abc48f27d09900ca3150130919d3f
Author: Peter Krempa <pkrempa>
Date:   Thu Jul 24 17:32:31 2014 +0200

    conf: Add USB sound card support and implement it for qemu

Comment 1 Daniel Berrangé 2020-04-17 16:05:04 UTC
The issue is now tracked at https://gitlab.com/libvirt/libvirt/-/issues/14