Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues between KVM-NYX, Kernel 5.10.75, and QEMU-NYX #2

Open
Fewword opened this issue Dec 2, 2024 · 2 comments
Open

Comments

@Fewword
Copy link

Fewword commented Dec 2, 2024

I encountered compatibility issues when trying to use KVM-NYX with specific kernel and QEMU versions. Below are the details:

1. Environment:

Kernel version: 5.10.75 (NYX-specific)
QEMU versions:
Latest QEMU-NYX: Encountering KVM_CAP_DIRTY_LOG_RING not supported.
Older QEMU-NYX: Missing fast-vm-load support.

2. Observed Issues:

If I use the latest QEMU-NYX, the kernel modules kvm and kvm-intel (built for kernel 5.10.75) do not support the KVM_CAP_DIRTY_LOG_RING feature, resulting in errors during execution.
If I use an older version of QEMU-NYX to avoid the above issue, it lacks support for the critical fast_vm_reload feature, which is required for my use case.

3. Steps to Reproduce:

Build and load kvm and kvm-intel modules from the kernel 5.10.75 source.
Install the latest QEMU-NYX and attempt to run a virtual machine.
Observe the error related to KVM_DIRTY_LOG_RING.
Downgrade to an older QEMU-NYX version and retry.
Observe that fast-vm-load functionality is missing.

4. Expected Behavior:

A compatible combination of kernel modules and QEMU-NYX should support both KVM_DIRTY_LOG_RING and fast-vm-load.

5.Actual Behavior:

Unable to use both features simultaneously with any available combination of kernel and QEMU versions.
@schumilo
Copy link

schumilo commented Dec 2, 2024

Could you please give the following build of KVM-Nyx a try and report back if this solves the issue?
https://github.com/IntelLabs/kafl.linux/releases/tag/kvm-nyx-6.8

Thanks!

@Fewword
Copy link
Author

Fewword commented Dec 3, 2024

Hi @schumilo,

Thank you for your response! I attempted to download the KVM-Nyx-6.8 release package from the link you provided, but it seems the download page returns a 404: Not Found error.

To proceed, I downloaded the KVM-Nyx-6.0 release package and tried to build the kvm.ko and kvm-intel.ko files using the compile_kvm_nyx_standalone.sh script. However, the process is stuck at the make oldconfig step, even after running overnight.

Could you please provide precompiled versions of the kvm.ko and kvm-intel.ko files, especially for the 6.8 release? This would greatly help in resolving the compatibility issues I am facing.

Thank you for your assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants