Re: [PATCH v7 6/6] x86/efi: Safely enable unaccepted memory in UEFI

From: Gerd Hoffmann
Date: Wed Apr 05 2023 - 06:07:05 EST


Hi,

> User will specify if it wants unaccepted memory or not for the VM. And if
> it does it is his responsibility to have kernel that supports it.
>
> And you have not addressed my question:
>
> How is it different from any other feature the kernel is not [yet] aware
> of?

Come on. Automatic feature negotiation is standard procedure in many
places. It's not like we inventing something totally new here.

Just one example: When a virtio device learns a new trick a feature flag
is added for it, and in case both guest and host support it it can be
enabled, otherwise not. There is no need for the user to configure the
virtio device features manually according to the capabilities of the
kernel it is going to boot.

take care,
Gerd