[Bug 277326] FreeBSD guest on QEMU with Hyper-V enlightenment on is no longer able to detect Hyper-V devices

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Feb 2024 15:21:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277326

--- Comment #4 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Roger Pau Monné from comment #3)
> Hm, I guess I'm a bit confused.
While debugging PR 274810, I see the behavior, that FreeBSD guests report
HyperV rather than KVM when Hyper-V enlightenment is enabled.

> If the hypervisor is KVM, shouldn't it be detected as KVM rather than HyperV?
I think KVM should be reported. But it seems everything goes right even HyperV
is reported.

> What's the benefit of using the HyperV enlightenments when running on QEMU/KVM?
I think Microsoft people are more familiar with that. When debugging PR 274810
I read briefly the design of Hyper-V virtual devices. I think the design is
pretty clear and performant.

I see lots of comparing of vm_guest in hyperv device drivers. I guess they
should be removed to correctly probe Hyper-V devices, to correctly support
Hyper-V enlightenment feature.

-- 
You are receiving this mail because:
You are the assignee for the bug.