Hi,

Thank you for responding.

The error is consistent while executing a command on the latest master branch 
(commit ID: 56c6e249b6988c1b6edc2dd34ebb0f1e570a1365) for the v10.0.0-rc3 
release.

Could you please confirm if you are using the same command (like I do in my 
case), and if possible, share it for reference?

Also, what OS are you emulating in QEMU and what is your host machine 
configuration over which QEMU is running ?

Regards
Saanjh Sengupta


Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Pierrick Bouvier <pierrick.bouv...@linaro.org>
Sent: Thursday, April 10, 2025 8:55:32 PM
To: Saanjh Sengupta <saanjhsengu...@outlook.com>
Cc: phi...@linaro.org <phi...@linaro.org>; pbonz...@redhat.com 
<pbonz...@redhat.com>; marcandre.lur...@redhat.com 
<marcandre.lur...@redhat.com>; amir.gon...@neuroblade.ai 
<amir.gon...@neuroblade.ai>; qemu-devel@nongnu.org <qemu-devel@nongnu.org>; 
aabhashswai...@gmail.com <aabhashswai...@gmail.com>; anian...@gmail.com 
<anian...@gmail.com>; guptapriyanshi...@gmail.com 
<guptapriyanshi...@gmail.com>; harshitgupta5...@gmail.com 
<harshitgupta5...@gmail.com>
Subject: Re: Issue with stoptrigger.c Plugin in QEMU Emulation

Hi Saanjh,

I have not been able to reproduce the issue with current master branch.
Is it an error you see for every run?

Regards,
Pierrick

On 4/10/25 04:10, Saanjh Sengupta wrote:
> Hi,
>
> I am writing to seek assistance with an issue I am experiencing while
> using the stoptrigger.c plugin in QEMU emulation. I am currently
> utilising the latest QEMU version, 9.2.92, and attempting to emulate the
> Debian 11 as the operating system.
>
> The command I am using to emulate QEMU is as follows:
> *./build/qemu-system-x86_64 -m 2048M -smp 2 -boot c -nographic -serial
> mon:stdio -nic tap,ifname=tap0,script=no,downscript=no  -hda
> debian11.qcow2 -icount shift=0 -plugin ./build/contrib/plugins/
> libstoptrigger.so,icount=9000000000 -d plugin -qmp
> tcp:localhost:4444,server,wait=off*
>
> However, when I attempt to use the -icount shift=0 option, the plugin
> fails with the error "*Basic icount read*". I have attached a screenshot
> of the error for your reference.
>
> error.png
>
> When I remove the -plugin argument from the command the OS boots up
> perfectly, as expected. Command utilised in that context was somewhat
> like *./build/qemu-system-x86_64 -m 2048M -smp 2 -boot c -nographic -
> serial mon:stdio -nic tap,ifname=tap0,script=no,downscript=no  -hda
> debian11.qcow2 -icount shift=0 -qmp tcp:localhost:4444,server,wait=off*
>
>
> I would greatly appreciate it if you could provide guidance on resolving
> this issue. Specifically, I would like to know the cause of the error
> and any potential solutions or workarounds that could be implemented to
> successfully use the stoptrigger.c plugin with the -icount shift=0 option.
>
>
> Regards
>
> Saanjh Sengupta
>

Reply via email to