diff options
| author | Wei Huang <wei.huang2@amd.com> | 2021-01-26 03:18:28 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 05:27:27 -0500 |
| commit | 4aa2691dcbd38ce1c461188799d863398dd2865d (patch) | |
| tree | c6061aadf5a188296a95c3d7edad8e6edafaa7c5 /lib/mpi/mpi-bit.c | |
| parent | 9a3ecd5e2aa10af18d0d5a055122d6cc0b0944c7 (diff) | |
KVM: x86: Factor out x86 instruction emulation with decoding
Move the instruction decode part out of x86_emulate_instruction() for it
to be used in other places. Also kvm_clear_exception_queue() is moved
inside the if-statement as it doesn't apply when KVM are coming back from
userspace.
Co-developed-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Wei Huang <wei.huang2@amd.com>
Message-Id: <20210126081831.570253-2-wei.huang2@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
