aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2025-03-01 15:35:36 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-05 02:13:38 +0100
commit15571873d76b8fdd6cafb1d268415a1327ae3a6f (patch)
tree52aec86a7011a6601d6287e47090eb5480c117d0 /tests/functional/qemu_test/linuxkernel.py
parent902cc3c59eb64bfff95a32de11151209779d118e (diff)
downloadqemu-15571873d76b8fdd6cafb1d268415a1327ae3a6f.zip
qemu-15571873d76b8fdd6cafb1d268415a1327ae3a6f.tar.gz
qemu-15571873d76b8fdd6cafb1d268415a1327ae3a6f.tar.bz2
hw/nvram/eeprom_at24c: Reorganise init to avoid overwriting values
The init_rom[] can write values to the beginning of the memory but these are overwritten by values from a backing file that covers the whole memory. init_rom[] is used only if there's no backing file (provides default content) but should not overwrite backing file content (especially leaving the file unchanged and only change it in memory). Do the init_rom[] handling only if it would not be overwritten. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <fd8e0478febd60d5f48c58bc77c60e043d1c3cdc.1740839457.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions