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

Daniel P. Berrange berrange at redhat.com
Wed Jul 3 14:21:31 UTC 2013


On Wed, Jul 03, 2013 at 04:19:01PM +0200, Michal Privoznik wrote:
> On 03.07.2013 15:59, Daniel P. Berrange wrote:
> > 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.
> 
> But that's just a QEMU limitation. If QEMU learns to hotplug a device
> onto ISA bus, libvirt will allow it.

Did real ISA buses ever support hotplug ?  I thought hotplug only came
along when PCI buses arrived. I'm rather doubting anyone is going to do
work for ISA device hotplug in QEMU

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