Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread linzhecheng
> -Original Message- > From: gerd hoffmann [mailto:kra...@redhat.com] > Sent: Friday, September 07, 2018 2:23 PM > To: CheneyLin > Cc: linzhecheng ; wangxin (U) > ; qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] Some confusion about live migration of usb devic

Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread gerd hoffmann
On Thu, Sep 06, 2018 at 10:23:45PM +0800, CheneyLin wrote: > > > > > -原始邮件- > > 发件人: "gerd hoffmann" > > 发送时间: 2018-09-06 21:52:23 (星期四) > > 收件人: linzhecheng > > 抄送: "wangxin (U)" , CheneyLin > > , "qemu-devel@non

Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread CheneyLin
> -原始邮件- > 发件人: "gerd hoffmann" > 发送时间: 2018-09-06 21:52:23 (星期四) > 收件人: linzhecheng > 抄送: "wangxin (U)" , CheneyLin , > "qemu-devel@nongnu.org" > 主题: Re: [Qemu-devel] Some confusion about live migration of usb device > > On

Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread gerd hoffmann
On Thu, Sep 06, 2018 at 12:10:08PM +, linzhecheng wrote: > You had said that copying vmstate of usb-host is pointless, so just unpulg > and plug it after migration is all right, > but will other usb devices like usb-storage devices lose pending USBPackets > then? Ah, emulated usb devices.

Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread linzhecheng
You had said that copying vmstate of usb-host is pointless, so just unpulg and plug it after migration is all right, but will other usb devices like usb-storage devices lose pending USBPackets then? > -Original Message- > From: gerd hoffmann [mailto:kra...@redhat.com] > Sent: Thursday

Re: [Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread gerd hoffmann
On Thu, Sep 06, 2018 at 10:25:20AM +, linzhecheng wrote: > Hi, Gerd > > I'm going through relevant codes about live migration of usb devices, > it seems that we will not save/load USBpacket in any vmstate, so > pending usb packets will be lost after live migration, is it a > problem? With usb

[Qemu-devel] Some confusion about live migration of usb device

2018-09-06 Thread linzhecheng
Hi, Gerd I'm going through relevant codes about live migration of usb devices, it seems that we will not save/load USBpacket in any vmstate, so pending usb packets will be lost after live migration, is it a problem?