[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Libvir] how to setup usb/serial ports with libvirt & kvm (Fedora 7)
- From: "John Davey" <john davey net au>
- To: <libvir-list redhat com>
- Subject: [Libvir] how to setup usb/serial ports with libvirt & kvm (Fedora 7)
- Date: Thu, 11 Oct 2007 15:00:56 +0930
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>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]