On 04/06/2018 09:33 AM, George Dunlap wrote:
> On Fri, Apr 6, 2018 at 2:12 PM, Juergen Gross <jgr...@suse.com> wrote:
>>
>> So its time for a new XENFEAT_ value then? This would be the least
>> intrusive way to add such a flag. Something like
>> XENFEAT_linux_high_rsdp_address_okay ?
> That sounds reasonable to me.  I'd personally make it something like
> "reads_rsdp_from_start_info" or something, but the name doesn't matter
> to me as much. :-)
>
> The other option would be to introduce a "max_pvh_interface_supported"
> or something.  If it's not present (and it's a Linux kernel), default
> it to '0', and have that mean "RSDP must be under 1MiB".
>
> That will allow us elbow-room in the future if we want to make other
> breaking changes like this, without needing to keep a separate flag
> around for each one indefinitely.

I slightly more prefer a per-feature bit. It is indeed somewhat more
maintenance-heavy but is also more flexible.

-boris


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to