qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned
Date: Thu, 16 Aug 2018 15:01:31 +0200
User-agent: NeoMutt/20180622

> > Hmm, needs_autoscan is a fixed property of the device (depending on
> > configuration), it should not be switched on and off.
> > 
> > What problem you are trying to solve?
> I'm trying to live migrate a vm to local host, but found the host-usb device 
> was removed then.
> Is it possible not to remove it after migrating vm?

Why live-migrate to localhost?  That is rather tricky due to both source
and target qemu accessing host resources at the same time, and I guess
this is the reason you are seeing the problems here.

If it is for QA purposes I'd suggest to use two machines for actual live
migration tests, or store the live migration stream in a file so the two
qemu instances never run at the same time (this is what "virsh save" is
doing).

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]