mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5a7b6029c1
On arm/virt platform, Chen Xiang reported a Guest crash while
attempting the below steps,
1. Launch the Guest with nvdimm=on
2. Hot-add a NVDIMM dev
3. Reboot
4. Guest boots fine.
5. Reboot again.
6. Guest boot fails.
QEMU_EFI reports the below error:
ProcessCmdAddPointer: invalid pointer value in "etc/acpi/tables"
OnRootBridgesConnected: InstallAcpiTables: Protocol Error
Debugging shows that on first reboot(after hot adding NVDIMM),
Qemu updates the etc/table-loader len,
qemu_ram_resize()
fw_cfg_modify_file()
fw_cfg_modify_bytes_read()
And in fw_cfg_modify_bytes_read() we set the "callback_opaque" for
the key entry to NULL. Because of this, on the second reboot,
virt_acpi_build_update() is called with a NULL "build_state" and
returns without updating the ACPI tables. This seems to be
upsetting the firmware.
To fix this, don't change the callback_opaque in fw_cfg_modify_bytes_read().
Fixes:
|
3 weeks ago | |
---|---|---|
.. | ||
Kconfig | 3 years ago | |
bcm2835_otp.c | 7 months ago | |
chrp_nvram.c | 1 month ago | |
ds1225y.c | 1 month ago | |
eeprom93xx.c | 1 year ago | |
eeprom_at24c.c | 1 month ago | |
fw_cfg-acpi.c | 4 months ago | |
fw_cfg-interface.c | 4 years ago | |
fw_cfg.c | 3 weeks ago | |
mac_nvram.c | 1 month ago | |
meson.build | 7 months ago | |
npcm7xx_otp.c | 1 year ago | |
nrf51_nvm.c | 1 month ago | |
spapr_nvram.c | 1 month ago | |
trace-events | 4 years ago | |
trace.h | 4 years ago | |
xlnx-bbram.c | 1 month ago | |
xlnx-efuse-crc.c | 3 years ago | |
xlnx-efuse.c | 1 month ago | |
xlnx-versal-efuse-cache.c | 1 month ago | |
xlnx-versal-efuse-ctrl.c | 1 month ago | |
xlnx-zynqmp-efuse.c | 1 month ago |