aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/netdev-times-record
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-09-20 17:03:02 -0700
committerPaolo Bonzini <[email protected]>2021-09-30 04:27:07 -0400
commit9ebe530b9f5da89f9628923348db767e5d497e7b (patch)
tree12bdeff3863d366c032e2e59c22794e72161f664 /tools/perf/scripts/python/bin/netdev-times-record
parent06692e4b8055cc0c6b136fa7df77221ae9639e97 (diff)
KVM: SVM: Move RESET emulation to svm_vcpu_reset()
Move RESET emulation for SVM vCPUs to svm_vcpu_reset(), and drop an extra init_vmcb() from svm_create_vcpu() in the process. Hopefully KVM will someday expose a dedicated RESET ioctl(), and in the meantime separating "create" from "RESET" is a nice cleanup. Keep the call to svm_switch_vmcb() so that misuse of svm->vmcb at worst breaks the guest, e.g. premature accesses doesn't cause a NULL pointer dereference. Cc: Reiji Watanabe <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions