diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-02-26 01:58:10 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-10-22 05:18:16 -0400 |
commit | 74d7ea50627a60257a92e77402780897075654fd (patch) | |
tree | d03fdd27e660aa383e3e7a5b256ac3d26fdcb698 /tests/docker/docker.py | |
parent | bd7a6d88ec900a9a2c5b3ef09f941558908d3cda (diff) | |
download | qemu-74d7ea50627a60257a92e77402780897075654fd.zip qemu-74d7ea50627a60257a92e77402780897075654fd.tar.gz qemu-74d7ea50627a60257a92e77402780897075654fd.tar.bz2 |
timer/i8254: Fix one shot PIT mode
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 <damien@zamaudio.com>
Message-Id: <20230226015755.52624-1-damien@zamaudio.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/docker/docker.py')
0 files changed, 0 insertions, 0 deletions