Hi Alex,
On Tue, May 12, 2020 at 21:11:46 +0100, Alex Bennée wrote:
>
> Emilio G. Cota writes:
>
> > On Mon, May 11, 2020 at 18:53:19 +0300, Nikolay Igotti wrote:
> >> Attached to the mail counter.c when running with attached test.c compiled
> >> to Linux standalone binary shows failing assert,
Emilio G. Cota writes:
> On Mon, May 11, 2020 at 18:53:19 +0300, Nikolay Igotti wrote:
>> Attached to the mail counter.c when running with attached test.c compiled
>> to Linux standalone binary shows failing assert, unless the patch is
>> applied.
>
> I didn't get the attachment. Can you paste
Nikolay Igotti writes:
> --- counter.c
>
> #include
> #include
> #include
> #include
> #include
> #include
>
> #include
>
> #include
>
> QEMU_PLUGIN_EXPORT int qemu_plugin_version = QEMU_PLUGIN_VERSION;
>
> // Files with descriptors after this one are intercepted for instruction
> count
--- counter.c
#include
#include
#include
#include
#include
#include
#include
#include
QEMU_PLUGIN_EXPORT int qemu_plugin_version = QEMU_PLUGIN_VERSION;
// Files with descriptors after this one are intercepted for instruction
counting marks.
#define CATCH_BASE 0xcafebabe
static uint64_
On Mon, May 11, 2020 at 18:53:19 +0300, Nikolay Igotti wrote:
> Attached to the mail counter.c when running with attached test.c compiled
> to Linux standalone binary shows failing assert, unless the patch is
> applied.
I didn't get the attachment. Can you paste the code at the end of your
reply?
Attached to the mail counter.c when running with attached test.c compiled
to Linux standalone binary shows failing assert, unless the patch is
applied.
вс, 10 мая 2020 г. в 02:00, Emilio G. Cota :
> On Mon, Apr 20, 2020 at 13:04:51 +0300, Nikolay Igotti wrote:
> > In linux-user multithreaded scen
On Mon, Apr 20, 2020 at 13:04:51 +0300, Nikolay Igotti wrote:
> In linux-user multithreaded scenarious CPU could be inited many times with
> the same id,
> so avoid assertions on already present hashtable entry.
>
> Signed-off-by: Nikolay Igotti
> ---
> plugins/core.c | 5 +
> 1 file changed
Sure, attached plugin and testcase where it fails.
On Mon, Apr 20, 2020 at 6:08 PM Alex Bennée wrote:
>
> Peter Maydell writes:
>
> > On Mon, 20 Apr 2020 at 10:16, Nikolay Igotti wrote:
> >>
> >> In linux-user multithreaded scenarious CPU could be inited many times
> with the same id,
> >>
>
Peter Maydell writes:
> On Mon, 20 Apr 2020 at 10:16, Nikolay Igotti wrote:
>>
>> In linux-user multithreaded scenarious CPU could be inited many times with
>> the same id,
>>
>> so avoid assertions on already present hashtable entry.
>>
>>
>> Signed-off-by: Nikolay Igotti
>
> Wouldn't it be
On Mon, 20 Apr 2020 at 11:18, Nikolay Igotti wrote:
>
> Maybe, I've tried least intrusive change as not entirely familiar with plugin
> login in QEMU.
Me neither, but having the hashtable continuing to contain stale
information about a CPU that's gone away seems like it might
cause problems some
Maybe, I've tried least intrusive change as not entirely familiar with
plugin login in QEMU.
On Mon, Apr 20, 2020 at 1:11 PM Peter Maydell
wrote:
> On Mon, 20 Apr 2020 at 10:16, Nikolay Igotti wrote:
> >
> > In linux-user multithreaded scenarious CPU could be inited many times
> with the same i
On Mon, 20 Apr 2020 at 10:16, Nikolay Igotti wrote:
>
> In linux-user multithreaded scenarious CPU could be inited many times with
> the same id,
>
> so avoid assertions on already present hashtable entry.
>
>
> Signed-off-by: Nikolay Igotti
Wouldn't it be better to make sure we remove the entr
OK, maybe this version will work better (gmail web interface may be not the
best one for sending patches):
In linux-user multithreaded scenarious CPU could be inited many times with
the same id,
so avoid assertions on already present hashtable entry.
Signed-off-by: Nikolay Igotti
---
plugi
Nikolay,
the patch seems corrupted by your mailer.
CC: Alex and Emilio as this code is theirs.
Thanks,
Laurent
Le 20/04/2020 à 11:15, Nikolay Igotti a écrit :
> In linux-user multithreaded scenarious CPU could be inited many times
> with the same id,
>
> so avoid assertions on already present
In linux-user multithreaded scenarious CPU could be inited many times with
the same id,
so avoid assertions on already present hashtable entry.
Signed-off-by: Nikolay Igotti
---
plugins/core.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/plugins/core.c b/plugins/
15 matches
Mail list logo