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

John Davey john at davey.net.au
Thu Oct 11 05:30:56 UTC 2007

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

Regards John

<domain type='kvm'>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <source file='/var/lib/xen/images/rho.img'/>
      <target dev='hda'/>
    <interface type='bridge'>
      <mac address='06:00:CF:DE:01:A2'/>
      <source bridge='eth0'/>
      <target dev='rho0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' listen=''/>

More information about the libvir-list mailing list