diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2021-05-27 17:01:37 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-28 12:59:10 -0400 |
commit | b35491e66c87946f380ebf8ab10a7e1f795e5ece (patch) | |
tree | 57863c62bef22ec2fc79fcd97a99165fe374cd41 /arch/arm64/kvm/arm.c | |
parent | da6393cdd8aaa354b3a2437cd73ebb34cac958e3 (diff) | |
download | linux-b35491e66c87946f380ebf8ab10a7e1f795e5ece.tar.bz2 |
KVM: X86: Kill off ctxt->ud
ctxt->ud is consumed only by x86_decode_insn(), we can kill it off by
passing emulation_type to x86_decode_insn() and dropping ctxt->ud
altogether. Tracking that info in ctxt for literally one call is silly.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <1622160097-37633-2-git-send-email-wanpengli@tencent.com>
Diffstat (limited to 'arch/arm64/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions