On 20/05/20 23:05, Lukas Straub wrote:
> +
> +void yank_init(void)
> +{
> + qemu_mutex_init(&lock);
> +}You can use __constructor__ for this to avoid the call in vl.c. See job.c for an example. Thanks, Paolo
On 20/05/20 23:05, Lukas Straub wrote:
> +
> +void yank_init(void)
> +{
> + qemu_mutex_init(&lock);
> +}You can use __constructor__ for this to avoid the call in vl.c. See job.c for an example. Thanks, Paolo