[PATCH] hw/ide: Add command to sync cache on ATAPI

2023-10-05 Thread Damien Zammit
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

Re: [PATCH qemu] timer/i8254: Fix one shot PIT mode

2023-10-05 Thread Damien Zammit
>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. >> >

Re: [PATCH qemu] timer/i8254: Fix one shot PIT mode

2023-02-26 Thread Damien Zammit
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

[PATCH qemu] timer/i8254: Fix one shot PIT mode

2023-02-25 Thread Damien Zammit
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

[Bug 1917442] [NEW] [AHCI] crash when running a GNU/Hurd guest

2021-03-02 Thread Damien Zammit
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