0

Assuming this figure:

enter image description here

Is it possible for line 1 of communication to exist directly as shown in the figure? Does any Hypervisor support this type of behavior? If not, is it possible to change a hypervisor (like KVM) to support this?

I suspect line 2 of communication is possible. But I am not quite sure. So the question also applies to line 2 of communcation as shown in the figure.

Everyone
  • 1,751
  • 13
  • 36

1 Answers1

1

Yes, it is possible. For example, using Intel VMX, the vmcall instruction can be used from an application. Any other instruction that is allowed in user mode and causes a VM exit can be used, such as cpuid or a memory access to an unmapped page.

The answers to this question talk about how to add a vmcall handler to KVM. Implementing a custom hypercall in kvm

prl
  • 11,716
  • 2
  • 13
  • 31