diff options
author | Richard Henderson | 2022-07-08 17:15:34 +0200 |
---|---|---|
committer | Peter Maydell | 2022-07-11 14:43:51 +0200 |
commit | d3b4f7170f7cb0987b83f70e15bfdc13e820d56d (patch) | |
tree | 4c3efd211dc5fae5c52ea8c364616c084fbd3a88 /linux-user/main.c | |
parent | linux-user/aarch64: Verify extra record lock succeeded (diff) | |
download | qemu-d3b4f7170f7cb0987b83f70e15bfdc13e820d56d.tar.gz qemu-d3b4f7170f7cb0987b83f70e15bfdc13e820d56d.tar.xz qemu-d3b4f7170f7cb0987b83f70e15bfdc13e820d56d.zip |
linux-user/aarch64: Move sve record checks into restore
Move the checks out of the parsing loop and into the
restore function. This more closely mirrors the code
structure in the kernel, and is slightly clearer.
Reject rather than silently skip incorrect VL and SVE record sizes,
bringing our checks in to line with those the kernel does.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220708151540.18136-40-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions