Re: [Qemu-devel] [PATCH 2/3] migration: Allow "device add" options to only add migratable devices

2016-12-15 Thread Ashijeet Acharya
On Thu, Dec 15, 2016 at 9:49 PM, Dr. David Alan Gilbert wrote: > * Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: >> On Thu, Dec 15, 2016 at 9:35 PM, Dr. David Alan Gilbert >> wrote: >> > * Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: >> >>

Re: [Qemu-devel] [PATCH 2/3] migration: Allow "device add" options to only add migratable devices

2016-12-15 Thread Ashijeet Acharya
On Thu, Dec 15, 2016 at 9:35 PM, Dr. David Alan Gilbert wrote: > * Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: >> Introduce checks for the unmigratable flag in the VMStateDescription >> structs of respective devices when user attempts to add them. If the >>

Re: [Qemu-devel] [PATCH 2/3] migration: Allow "device add" options to only add migratable devices

2016-12-15 Thread Dr. David Alan Gilbert
* Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: > On Thu, Dec 15, 2016 at 9:35 PM, Dr. David Alan Gilbert > wrote: > > * Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: > >> Introduce checks for the unmigratable flag in the VMStateDescription > >> structs of

Re: [Qemu-devel] [PATCH 2/3] migration: Allow "device add" options to only add migratable devices

2016-12-15 Thread Dr. David Alan Gilbert
* Ashijeet Acharya (ashijeetacha...@gmail.com) wrote: > Introduce checks for the unmigratable flag in the VMStateDescription > structs of respective devices when user attempts to add them. If the > "--only-migratable" was specified, all unmigratable devices will > rightly fail to add. This feature

[Qemu-devel] [PATCH 2/3] migration: Allow "device add" options to only add migratable devices

2016-12-14 Thread Ashijeet Acharya
Introduce checks for the unmigratable flag in the VMStateDescription structs of respective devices when user attempts to add them. If the "--only-migratable" was specified, all unmigratable devices will rightly fail to add. This feature is made compatible for both "-device" and "-usbdevice"