[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 03/22] intel_iommu: modify x-scalable-mode to be string opti
From: |
Peter Xu |
Subject: |
Re: [RFC v2 03/22] intel_iommu: modify x-scalable-mode to be string option |
Date: |
Tue, 5 Nov 2019 07:50:00 -0500 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Tue, Nov 05, 2019 at 09:14:08AM +0000, Liu, Yi L wrote:
> > Something like:
> >
> > - s->scalable_mode_str to keep the string
> > - s->scalable_mode still as a bool to cache the global enablement
> > - s->scalable_modern as a bool to keep the mode
> >
> > ?
>
> So x-scalable-mode is still a string option, just to have a new field to
> store it?
Yep. I'd say maybe we should start to allow to define some union-ish
properties, but for now I think string is ok.
--
Peter Xu