Displaying 2 results from an estimated 2 matches for "add_channel_device".
2015 Sep 21
2
failure when trying to add a channel device via virsh attach-device
...te='disconnected'/>
<alias name='channel_OmniVision'/>
<address type='virtio-serial' controller='0' bus='0' port='30'/>
</channel>
Guest is off :
[root@rhel6-roadster test_channels_OK]# virsh attach-device Linux_2 add_channel_device.xml
error: Failed to attach device from add_channel_device.xml
error: Requested operation is not valid: cannot do live update a device on inactive domain
[root@rhel6-roadster test_channels_OK]#
Guest is running :
[root@rhel6-roadster test_channels_OK]# virsh attach-device Linux_2 add_channel_de...
2015 Sep 21
0
Re: failure when trying to add a channel device via virsh attach-device
...;alias name='channel_OmniVision'/>
> <address type='virtio-serial' controller='0' bus='0' port='30'/>
> </channel>
>
>
> Guest is off :
>
>
> [root@rhel6-roadster test_channels_OK]# virsh attach-device Linux_2 add_channel_device.xml
> error: Failed to attach device from add_channel_device.xml
> error: Requested operation is not valid: cannot do live update a device on inactive domain
This was a bug in older versions. In case when the VM is offline you'll
need to explicitly use the '--config' flag so that...