Re: [RFC PATCH] cpu: system_ops: move to cpu-system-ops.h, keep a pointer in CPUClass

2021-02-27 Thread Richard Henderson
On 2/26/21 8:40 AM, Philippe Mathieu-Daudé wrote: > +++ b/include/hw/core/cpu-system-ops.h > @@ -0,0 +1,89 @@ > +/* > + * CPU operations specific to system emulation > + * > + * Copyright (c) 2012 SUSE LINUX Products GmbH > + * > + * This work is licensed under the terms of the GNU GPL, version 2 o

[RFC PATCH] cpu: system_ops: move to cpu-system-ops.h, keep a pointer in CPUClass

2021-02-26 Thread Philippe Mathieu-Daudé
Similarly to commit 78271684719 ("cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass"): We cannot in principle make the SysEmu Operations field definitions conditional on CONFIG_SOFTMMU in code that is included by both common_ss and specific_ss modules. Therefore, what we can do safe