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, September 06, 2018 8:04 PM > To: linzhecheng <linzhech...@huawei.com> > Cc: CheneyLin <li...@zju.edu.cn>; wangxin (U) > <wangxinxin.w...@huawei.com>; qemu-devel@nongnu.org > Subject: Re: Some confusion about live migration of usb device > > On Thu, Sep 06, 2018 at 10:25:20AM +0000, 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-host or usb-redir? > > cheers, > Gerd