Clone of Proxmox QEMU build scripts with Vitastor support
 
Go to file
Fiona Ebner 816077299c fix #2874: SATA: avoid unsolicited write to sector 0 during reset
If there is a pending DMA operation during ide_bus_reset(), the fact
that the IDEstate is already reset before the operation is canceled
can be problematic. In particular, ide_dma_cb() might be called and
then use the reset IDEstate which contains the signature after the
reset. When used to construct the IO operation this leads to
ide_get_sector() returning 0 and nsector being 1. This is particularly
bad, because a write command will thus destroy the first sector which
often contains a partition table or similar.

Upstream discussion:
https://lists.nongnu.org/archive/html/qemu-devel/2023-08/msg04239.html

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-09-26 11:30:22 +02:00
debian fix #2874: SATA: avoid unsolicited write to sector 0 during reset 2023-09-26 11:30:22 +02:00
keycodemapdb update keycodemapdb for 6.0 2021-05-28 11:29:44 +02:00
qemu@f7f686b61c update submodule and patches to QEMU 8.0.2 2023-06-06 16:32:38 +02:00
.gitignore add .gitignore file 2023-05-22 12:05:14 +02:00
.gitmodules import stable-4 build files 2017-04-05 11:39:09 +02:00
Makefile buildsys: remove edk2 source tree when assembling build-dir 2023-05-24 10:37:10 +02:00
backup.txt correct link to vma spec to new repository url 2020-01-14 11:18:52 +01:00
vma_spec.txt import stable-4 build files 2017-04-05 11:39:09 +02:00