diff options
author | 2024-02-08 21:48:38 +0100 | |
---|---|---|
committer | 2024-02-26 18:08:36 -0800 | |
commit | 221d65449453846bbf6801d0ecf7dfdf4f413ad9 (patch) | |
tree | 418e6d9f9d60eed612f851d300000e12524f11d0 /scripts/generate_rust_analyzer.py | |
parent | KVM: selftests: x86: sync_regs_test: Use vcpu_run() where appropriate (diff) | |
download | linux-rng-221d65449453846bbf6801d0ecf7dfdf4f413ad9.tar.xz linux-rng-221d65449453846bbf6801d0ecf7dfdf4f413ad9.zip |
KVM: selftests: x86: sync_regs_test: Get regs structure before modifying it
The regs structure just accidentally contains the right values
from the previous test in the spot where we want to change rbx.
It's cleaner if we properly initialize the structure here before
using it.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20240208204844.119326-3-thuth@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions