diff options
author | Shanker Donthineni | 2017-11-07 14:03:51 +0100 |
---|---|---|
committer | Peter Maydell | 2017-11-07 14:03:51 +0100 |
commit | 3a575cd2c2411f139a95ace4b2523bc1dfd21755 (patch) | |
tree | 3659d5daafd432132400a4a23c007688ce1d15bc /hw/arm/fsl-imx6.c | |
parent | translate.c: Fix usermode big-endian AArch32 LDREXD and STREXD (diff) | |
download | qemu-3a575cd2c2411f139a95ace4b2523bc1dfd21755.tar.gz qemu-3a575cd2c2411f139a95ace4b2523bc1dfd21755.tar.xz qemu-3a575cd2c2411f139a95ace4b2523bc1dfd21755.zip |
hw/intc/arm_gicv3_its: Fix the VM termination in vm_change_state_handler()
The commit cddafd8f353d ("hw/intc/arm_gicv3_its: Implement state save
/restore") breaks the backward compatibility with the older kernels
where vITS save/restore support is not available. The vmstate function
vm_change_state_handler() should not be registered if the running kernel
doesn't support ITS save/restore feature. Otherwise VM instance will be
killed whenever vmstate callback function is invoked.
Observed a virtual machine shutdown with QEMU-2.10+linux-4.11 when testing
the reboot command "virsh reboot <domain> --mode acpi" instead of reboot.
KVM Error: 'KVM_SET_DEVICE_ATTR failed: Group 4 attr 0x00000000000001'
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1509712671-16299-1-git-send-email-shankerd@codeaurora.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/fsl-imx6.c')
0 files changed, 0 insertions, 0 deletions