hypervisor: mshv: Emulate IrqFd and IOEventFd for mshv module

We don't have IrqFd and IOEventFd support in the kernel for now.
So an emulation layer is needed. In the future, we will be adding this
support in the kernel.

Co-Developed-by: Wei Liu <liuwe@microsoft.com>
Signed-off-by: Wei Liu <liuwe@microsoft.com>
Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2020-12-04 10:30:29 -08:00
committed by Samuel Ortiz
parent 286a23fbd4
commit fd0ef6cfb5
4 changed files with 264 additions and 2 deletions

1
Cargo.lock generated
View File

@@ -418,6 +418,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"env_logger",
"epoll",
"iced-x86",
"kvm-bindings",
"kvm-ioctls",