diff options
| author | Chenyi Qiang <[email protected]> | 2020-11-06 17:03:13 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-02-04 05:27:21 -0500 |
| commit | 15aad3be9adb3fb7fba84190a2ce57d66e8b51da (patch) | |
| tree | 26e27923e0e83b4639ebb41ee3f8d777641dfa8f /tools/perf/scripts/python/bin | |
| parent | 8e53324021645f820a01bf8aa745711c802c8542 (diff) | |
KVM: X86: Reset the vcpu->run->flags at the beginning of vcpu_run
Reset the vcpu->run->flags at the beginning of kvm_arch_vcpu_ioctl_run.
It can avoid every thunk of code that needs to set the flag clear it,
which increases the odds of missing a case and ending up with a flag in
an undefined state.
Signed-off-by: Chenyi Qiang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions