Message ID | 20210131111316.232778-7-f4bug@amsat.org |
---|---|
State | New |
Headers | show |
Series | target: Provide target-specific Kconfig | expand |
Philippe Mathieu-Daudé <f4bug@amsat.org> writes: > SEV is an architecture feature, move its declaration to target/i386/. In docs/devel/kconfig.rst we make the distinction between: **subsystems**, of which **buses** are a special case **devices** **device groups** **boards** **internal elements** Are we treating architecture features as internal elements or should we add some additional words to the kconfig document before we starting to move stuff there. In fact I realise this is better directed at 5/10 so for this patch: Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > hw/i386/Kconfig | 4 ---- > target/i386/Kconfig | 4 ++++ > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig > index 7f91f30877f..3d67c172dab 100644 > --- a/hw/i386/Kconfig > +++ b/hw/i386/Kconfig > @@ -1,7 +1,3 @@ > -config SEV > - bool > - depends on KVM > - > config PC > bool > imply APPLESMC > diff --git a/target/i386/Kconfig b/target/i386/Kconfig > index ce6968906ee..27c76c554c7 100644 > --- a/target/i386/Kconfig > +++ b/target/i386/Kconfig > @@ -3,3 +3,7 @@ config I386 > > config X86_64 > bool > + > +config SEV > + bool > + depends on KVM && I386
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 7f91f30877f..3d67c172dab 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -1,7 +1,3 @@ -config SEV - bool - depends on KVM - config PC bool imply APPLESMC diff --git a/target/i386/Kconfig b/target/i386/Kconfig index ce6968906ee..27c76c554c7 100644 --- a/target/i386/Kconfig +++ b/target/i386/Kconfig @@ -3,3 +3,7 @@ config I386 config X86_64 bool + +config SEV + bool + depends on KVM && I386
SEV is an architecture feature, move its declaration to target/i386/. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- hw/i386/Kconfig | 4 ---- target/i386/Kconfig | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)