Sean Christopherson e913ef159f KVM: x86: Split core of hypercall emulation to helper function
By necessity, TDX will use a different register ABI for hypercalls.
Break out the core functionality so that it may be reused for TDX.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Message-Id: <5134caa55ac3dec33fb2addb5545b52b3b52db02.1705965635.git.isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-04-12 04:42:23 -04:00
..
2024-03-21 14:41:00 -07:00
2024-03-23 09:17:03 -07:00
2024-03-21 14:41:00 -07:00
2024-03-21 12:44:10 -07:00
2024-03-14 15:53:10 -07:00
2024-03-21 14:41:00 -07:00
2024-03-21 10:13:47 -07:00
2024-03-15 12:37:59 -07:00
2024-03-23 08:43:21 -07:00