Re: [PATCH v6 06/18] cpu: Assert DeviceClass::vmsd is NULL on user emulation

2021-04-26 Thread Philippe Mathieu-Daudé
On 4/26/21 6:15 PM, Dr. David Alan Gilbert wrote: > * Philippe Mathieu-Daudé (f4...@amsat.org) wrote: >> Migration is specific to system emulation. >> >> Restrict current DeviceClass::vmsd to sysemu using #ifdef'ry, >> and assert in cpu_exec_realizefn() that dc->vmsd not set under >> user emulation

Re: [PATCH v6 06/18] cpu: Assert DeviceClass::vmsd is NULL on user emulation

2021-04-26 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (f4...@amsat.org) wrote: > Migration is specific to system emulation. > > Restrict current DeviceClass::vmsd to sysemu using #ifdef'ry, > and assert in cpu_exec_realizefn() that dc->vmsd not set under > user emulation. > > Signed-off-by: Philippe Mathieu-Daudé > --- > c

Re: [PATCH v6 06/18] cpu: Assert DeviceClass::vmsd is NULL on user emulation

2021-04-22 Thread Richard Henderson
On 4/22/21 12:38 PM, Philippe Mathieu-Daudé wrote: Migration is specific to system emulation. Restrict current DeviceClass::vmsd to sysemu using #ifdef'ry, and assert in cpu_exec_realizefn() that dc->vmsd not set under user emulation. Signed-off-by: Philippe Mathieu-Daudé --- cpu.c

[PATCH v6 06/18] cpu: Assert DeviceClass::vmsd is NULL on user emulation

2021-04-22 Thread Philippe Mathieu-Daudé
Migration is specific to system emulation. Restrict current DeviceClass::vmsd to sysemu using #ifdef'ry, and assert in cpu_exec_realizefn() that dc->vmsd not set under user emulation. Signed-off-by: Philippe Mathieu-Daudé --- cpu.c | 1 + target/sh4/cpu.c | 5 +++-- targe