diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-11-13 19:36:28 -0500 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-19 14:28:53 -0800 |
| commit | 7e11eec989c840ff8cd11cee5005c7ce68ef1ab3 (patch) | |
| tree | 5cb0463536b7550e8674cfdcb47f90b471e60b99 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 1a84b07acaa45bb2e4a1d09be26b0ba6270929c3 (diff) | |
KVM: x86: Share emulator's common register decoding code
Remove all duplicate handling of register operands, including picking
the right register class and fetching it, by extracting a new function
that can be used for both REG and MODRM operands.
Centralize setting op->orig_val = op->val in fetch_register_operand()
as well.
No functional change intended.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Chang S. Bae <chang.seok.bae@intel.com>
Link: https://patch.msgid.link/20251114003633.60689-6-pbonzini@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions