[libvirt] attach-device error: XML error: unknown device type

Daniel P. Berrange berrange at redhat.com
Wed Jul 3 13:59:11 UTC 2013


On Wed, Jul 03, 2013 at 07:54:51AM -0600, Eric Blake wrote:
> On 07/03/2013 07:46 AM, Daniel P. Berrange wrote:
> >> What am I doing wrong with the virsh attach-device command or XML?
> > 
> > There is no support for hotplug of any character device (that
> > covers serial, parallel, console, channnel elements in the XML)
> 
> Although that's about to change in libvirt 1.1.1:
> https://www.redhat.com/archives/libvir-list/2013-July/msg00125.html

Yes & no. Yes, libvirt will support hotplug, but that's only actually
going to work for devices which are PCI based. eg virtio-serial and
virtio-console. You can't hotplug <serial> or <paralle> devices which
use the ISA bus, which is what Chris was trying todo here.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list