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

[libvirt] [PATCH 0/3]add usb-net support for qemu



The set of patches fixed some typo in network docs and codes and
is trying to support usb-net qemu virtual device.

The following is an example for use.

Libvirt XML sample:
  <devices>
    <interface type='user'>
      <mac address='52:54:00:32:6a:91'/>
      <model type='usb-net'/>
      <alias name='net1'/>
      <address type='usb' bus='0' port='1'/>
    </interface>
  </devices>

qemu commandline:

qemu ${other_vm_args}
    -netdev user,id=hostnet1 \
    -device usb-net,netdev=hostnet1,id=net1,\
      mac=52:54:00:32:6a:91,bus=usb.0,port=1

Guannan Ren(3)
  [PATCH 1/3] network: fix typos and docs
  [PATCH 2/3] qemu: add usb-net caps flag
  [PATCH 3/3] qemu: add usb-net support

 docs/formatdomain.html.in    | 13 +++++++++----
 src/conf/domain_conf.c       | 22 +++++++++++++++-------
 src/qemu/qemu_capabilities.c |  2 ++
 src/qemu/qemu_capabilities.h |  1 +
 src/qemu/qemu_command.c      |  8 +++++++-
 tests/qemuhelptest.c         | 21 ++++++++++++++-------
 6 files changed, 48 insertions(+), 19 deletions(-)


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