[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 3/6] armv7m_nvic: Fix m-security subsection name
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 3/6] armv7m_nvic: Fix m-security subsection name |
Date: |
Mon, 30 Jul 2018 15:17:45 +0100 |
The vmstate save/load code insists that subsections of a VMState must
have names which include their parent VMState's name as a leading
substring. Unfortunately it neither documents this nor checks it on
device init or state save, but instead fails state load with a
confusing error message ("Missing section footer for armv7m_nvic").
Fix the name of the m-security subsection of the NVIC, so that
state save/load works correctly for the security-enabled NVIC.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-id: address@hidden
---
hw/intc/armv7m_nvic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/intc/armv7m_nvic.c b/hw/intc/armv7m_nvic.c
index 6be7fc5266d..cd1e7f17299 100644
--- a/hw/intc/armv7m_nvic.c
+++ b/hw/intc/armv7m_nvic.c
@@ -2064,7 +2064,7 @@ static int nvic_security_post_load(void *opaque, int
version_id)
}
static const VMStateDescription vmstate_nvic_security = {
- .name = "nvic/m-security",
+ .name = "armv7m_nvic/m-security",
.version_id = 1,
.minimum_version_id = 1,
.needed = nvic_security_needed,
--
2.17.1
- [Qemu-devel] [PULL 0/6] target-arm queue, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 5/6] hw/misc/tz-mpc: Zero the LUT on initialization, not just reset, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 3/6] armv7m_nvic: Fix m-security subsection name,
Peter Maydell <=
- [Qemu-devel] [PULL 6/6] target/arm: Remove duplicate 'host' entry in '-cpu ?' output, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 4/6] hw/arm/iotkit: Fix IRQ number for timer1, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 1/6] arm/smmuv3: Fix missing VMSD terminator, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 2/6] hw/arm/sysbus-fdt: Fix assertion in copy_properties_from_host(), Peter Maydell, 2018/07/30
- Re: [Qemu-devel] [PULL 0/6] target-arm queue, Peter Maydell, 2018/07/30