[pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Alexandre Derumier
We can migrate a vm with a usbhost device plugged without any problem. If the target server don't have the usb device, the device is unplugged on target vm If the target server have same kind of usb device (same vendor:productid or same usb port), it's transparent for the vm. Signed-off-by:

Re: [pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Dietmar Maurer
> On February 4, 2016 at 4:04 PM Alexandre Derumier wrote: > > > We can migrate a vm with a usbhost device plugged without any problem. > > If the target server don't have the usb device, the device is unplugged on > target vm > > If the target server have same kind of

Re: [pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Alexandre DERUMIER
) (We have tested it during the training) - Mail original - De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com>, "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Jeudi 4 Février 2016 16:57:24 Objet: Re: [pve-devel]

Re: [pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Dietmar Maurer
> for example , for usb key, yes, they are different. > > But some devices like usb dongles could work without any problem. > > (Migrating a vm with propriarity software which need a dongle) Sure, it can work for special cases. But in general this would be a dangerous feature. Maybe an extra

Re: [pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Alexandre DERUMIER
nly root may use this option. I think it should work ? - Mail original - De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com> Cc: "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Jeudi 4 Février 2016 17:58:23 Objet:

Re: [pve-devel] [PATCH] allow migration with usbhost device

2016-02-04 Thread Dietmar Maurer
> >>Sure, it can work for special cases. But in general this would be a > >>dangerous feature. Maybe an extra flag for such cases? > > Ok no problem. > > I think we have already > > -force boolean > > Allow to migrate VMs which use local devices. Only root >