how to setup usb/serial ports with libvirt & kvm (Fedora 7)

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

 



I am experimenting with the following Redhat 9 kvm on Fedora 7.  

How do I add a USB device with Libvirt? Specifically I'd like to add a
usb-serial converter for logging data. "Man qemu-kvm" shows -usbdevice
devname to add a USB device but I cannot find out how to do this with
libvirt.

Regards John


<domain type='kvm'>
  <name>Rho</name>
  <memory>458752</memory>
  <currentMemory>458752</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/var/lib/xen/images/rho.img'/>
      <target dev='hda'/>
    </disk>
    <interface type='bridge'>
      <mac address='06:00:CF:DE:01:A2'/>
      <source bridge='eth0'/>
      <target dev='rho0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' listen='127.0.0.1'/>
  </devices>
</domain>

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