Re: modular tcg (was: Re: [PATCH v2 1/1] modules: Improve error message when module is not) found

2022-09-02 Thread Claudio Fontana
Hi all, modularization of TCG is still incomplete in my view: we need to handle the error case better. If we configure --enable-modules --enable-tcg --enable-kvm , but for some reason the .so is not present or is not loaded successfully, and kvm fails to be enabled (for example, /dev/kvm not

Re: modular tcg (was: Re: [PATCH v2 1/1] modules: Improve error message when module is not) found

2021-07-29 Thread Paolo Bonzini
On 29/07/21 11:14, Gerd Hoffmann wrote: The common functions could be added TCGCPUOps to allow them being called via CPUClass->tcg_ops->$name instead of a direct symbol reference. Not sure this is a good idea though. Experimental patch covering tcg_exec_realizefn + tcg_exec_unrealizefn below.

modular tcg (was: Re: [PATCH v2 1/1] modules: Improve error message when module is not) found

2021-07-29 Thread Gerd Hoffmann
Hi, > > So we need more work to make this actually work right. > > Yes. I want have all of tcg in the tcg accel module, not only parts of > it, but that needs some more refactoring. I'll go start looking at this > once I managed to wade through my vacation backlog. So, changed the