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

Michal Privoznik mprivozn at redhat.com
Wed Jul 3 14:19:01 UTC 2013


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.
> 
> Daniel
> 

But that's just a QEMU limitation. If QEMU learns to hotplug a device
onto ISA bus, libvirt will allow it.

Michal




More information about the libvir-list mailing list