diff --git a/machine/qemu/v1alpha1.go b/machine/qemu/v1alpha1.go index 340068d4e..051b7041c 100644 --- a/machine/qemu/v1alpha1.go +++ b/machine/qemu/v1alpha1.go @@ -421,10 +421,9 @@ func (service *machineV1alpha1Service) Create(ctx context.Context, machine *mach if machine.Spec.Emulation { onFeatures := QemuCPUFeatures{QemuCPUFeaturePdpe1gb} - if qemuVersion.LessThan(QemuVersion8_0_0) { - log.G(ctx).Warn("QEMU version is less than 8.0.0, consider updating to be able to emulate Unikraft v0.17.0 and greater") - } else { - onFeatures = append(onFeatures, QemuCPUFeatureRdrand, QemuCPUFeatureRdseed) + onFeatures = append(onFeatures, QemuCPUFeatureRdrand) + if qemuVersion.GreaterThanEqual(QemuVersion8_0_0) { + onFeatures = append(onFeatures, QemuCPUFeatureRdseed) } qopts = append(qopts,