Return-Path: Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u3sm28397960wre.54.2021.02.01.03.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 03:23:52 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 93CBE1FF7E; Mon, 1 Feb 2021 11:23:51 +0000 (GMT) References: <20210131111316.232778-1-f4bug@amsat.org> <20210131111316.232778-7-f4bug@amsat.org> User-agent: mu4e 1.5.7; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, Paolo Bonzini , Sarah Harris , Max Filippov , qemu-block@nongnu.org, "Michael S. Tsirkin" , Eduardo Habkost , Laurent Vivier , Yoshinori Sato , qemu-s390x@nongnu.org, Richard Henderson , Anthony Green , Kevin Wolf , Max Reitz , Chris Wulff , Guan Xuetao , qemu-riscv@nongnu.org, David Hildenbrand , qemu-arm@nongnu.org, Marcel Apfelbaum , Mark Cave-Ayland , Michael Walle , Greg Kurz , qemu-ppc@nongnu.org, Peter Maydell , Stafford Horne , Cornelia Huck , Marek Vasut , Aleksandar Rikalo , Sagar Karandikar , Bastian Koppelmann , Jiaxun Yang , "Edgar E. Iglesias" , Thomas Huth , Artyom Tarasenko , =?utf-8?Q?Mar?= =?utf-8?Q?c-Andr=C3=A9?= Lureau , Palmer Dabbelt , Michael Rolnik , Aurelien Jarno , Alistair Francis , David Gibson Subject: Re: [PATCH 06/10] target/i386: Move SEV feature to target Kconfig Date: Mon, 01 Feb 2021 11:20:31 +0000 In-reply-to: <20210131111316.232778-7-f4bug@amsat.org> Message-ID: <87h7mwvxo8.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TUID: heTbvXcKWl/L Philippe Mathieu-Daud=C3=A9 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=C3=A9e > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > 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 >=20=20 > config X86_64 > bool > + > +config SEV > + bool > + depends on KVM && I386 --=20 Alex Benn=C3=A9e