Bumping this thread[1] as it seems to have gotten lost:
[1] https://lists.gnu.org/archive/html/qemu-block/2022-03/msg00586.html
Damien
>From: Michael Tokarev
>26.02.2023 04:58, Damien Zammit wrote:
>> Currently, the one-shot (mode 1) PIT expires far too quickly,
>> due to the output being set under the wrong logic.
>> This change fixes the one-shot PIT mode to behave similarly to mode 0.
>>
>
Hi Michael,
Thanks for reviewing this on a weekend!
On 26/2/23 19:51, Michael S. Tsirkin wrote:
> On Sun, Feb 26, 2023 at 01:58:10AM +0000, Damien Zammit wrote:
>> case 0:
>> -out = (d >= s->count);
>> -break;
>
>
> I think you nee
Currently, the one-shot (mode 1) PIT expires far too quickly,
due to the output being set under the wrong logic.
This change fixes the one-shot PIT mode to behave similarly to mode 0.
TESTED: using the one-shot PIT mode to calibrate a local apic timer.
Signed-off-by: Damien Zammit
---
hw
Public bug reported:
QEMU git hash = 51db2d7cf2
Running guest OS using:
$ gdb --args /extra/qemu/bin/qemu-system-i386 -M q35,accel=kvm -m 4096
-net user,hostfwd=tcp::-:22 -net nic -drive
id=udisk,file=/dev/sdd,format=raw,if=none -device ide-
drive,drive=udisk,bootindex=1 -curses
...
root@z