On 7/17/26 22:40, Pierrick Bouvier wrote:
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/vfio/Kconfig?ref_type=heads#L5``` config VFIO bool depends on LINUX ``` Incorrect, and it should exclude Linux hosts not supporting VFIO. At least sparc64 to fix the current issue.
Shouldn't there be "depends on LINUX & KVM" ? At least, this way we can do --disable-kvm and it will work. Is sparc64 the only architecture where kvm is not available? Somehow I doubt it's the case. Yet, on other architectures without kvm, the thing builds. To me, this smells like a bug in debian, - missing asm/kvm.h include in linux-headers - so that some headers are missing while some others are present. Or a bug in kernel itself, with sparc port lagging in this area so that even dummy asm/kvm.h is not provided. Thanks, /mjt
