[libvirt-users] When adding a channel device, we need a shutdown

Hi, It looks like , when adding a channel device, that the Guest must be powered off / on to be able to detect the new device . ( simple reboot isn't not enough) Is there any way to avoid this power_cycle ? Thx. J.P. Ribeauville P: +33.(0).1.47.17.27.87 Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/> P Pensez à l'environnement avant d'imprimer.

On 28.08.2015 10:36, Jean-Pierre Ribeauville wrote:
Hi,
It looks like , when adding a channel device, that the Guest must be powered off / on to be able to detect the new device . ( simple reboot isn't not enough)
Is there any way to avoid this power_cycle ?
Yes, you can hotplug the device: virsh attach-device --live ... It's supposed to be implemented since the 1.1.1 release. Michal

Hi, "Yes, you can hotplug the device: virsh attach-device --live ... It's supposed to be implemented since the 1.1.1 release." Does it mean that a virsh attach-device --config (AFAIK , taken in account at next guest reboot) should work by using release to 1.1.1 ? Thx. J.P. -----Message d'origine----- De : Michal Privoznik [mailto:mprivozn@redhat.com] Envoyé : mercredi 2 septembre 2015 14:07 À : Jean-Pierre Ribeauville; libvirt-users@redhat.com Objet : Re: [libvirt-users] When adding a channel device, we need a shutdown On 28.08.2015 10:36, Jean-Pierre Ribeauville wrote:
Hi,
It looks like , when adding a channel device, that the Guest must be powered off / on to be able to detect the new device . ( simple reboot isn't not enough)
Is there any way to avoid this power_cycle ?
Yes, you can hotplug the device: virsh attach-device --live ... It's supposed to be implemented since the 1.1.1 release. Michal

On 07.09.2015 16:37, Jean-Pierre Ribeauville wrote:
Hi,
"Yes, you can hotplug the device: virsh attach-device --live ... It's supposed to be implemented since the 1.1.1 release."
Does it mean that a virsh attach-device --config (AFAIK , taken in account at next guest reboot) should work by using release to 1.1.1 ?
Yes. Although I think there were some fixes after that. So you should use the latest version possible anyway. Michal
participants (2)
-
Jean-Pierre Ribeauville
-
Michal Privoznik