|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v2 1/4] Introduce yank feature |
Date: | Thu, 21 May 2020 00:48:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |