Message ID | 20201211083143.14350-6-cfontana@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | i386 cleanup PART 1 | expand |
On 12/11/20 2:31 AM, Claudio Fontana wrote: > Signed-off-by: Claudio Fontana <cfontana@suse.de> > Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/i386/{ => whpx}/whp-dispatch.h | 0 > target/i386/{ => whpx}/whpx-cpus.h | 0 > target/i386/{ => whpx}/whpx-all.c | 0 > target/i386/{ => whpx}/whpx-cpus.c | 0 > MAINTAINERS | 5 +---- > target/i386/meson.build | 5 +---- > target/i386/whpx/meson.build | 4 ++++ > 7 files changed, 6 insertions(+), 8 deletions(-) > rename target/i386/{ => whpx}/whp-dispatch.h (100%) > rename target/i386/{ => whpx}/whpx-cpus.h (100%) > rename target/i386/{ => whpx}/whpx-all.c (100%) > rename target/i386/{ => whpx}/whpx-cpus.c (100%) > create mode 100644 target/i386/whpx/meson.build Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On Fri, Dec 11, 2020 at 09:31:23AM +0100, Claudio Fontana wrote: > Signed-off-by: Claudio Fontana <cfontana@suse.de> > Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/i386/{ => whpx}/whp-dispatch.h | 0 > target/i386/{ => whpx}/whpx-cpus.h | 0 > target/i386/{ => whpx}/whpx-all.c | 0 > target/i386/{ => whpx}/whpx-cpus.c | 0 > MAINTAINERS | 5 +---- > target/i386/meson.build | 5 +---- > target/i386/whpx/meson.build | 4 ++++ > 7 files changed, 6 insertions(+), 8 deletions(-) > rename target/i386/{ => whpx}/whp-dispatch.h (100%) > rename target/i386/{ => whpx}/whpx-cpus.h (100%) > rename target/i386/{ => whpx}/whpx-all.c (100%) > rename target/i386/{ => whpx}/whpx-cpus.c (100%) > create mode 100644 target/i386/whpx/meson.build > Unfortunately this conflicts with commit faf20793b5af ("WHPX: support for the kernel-irqchip on/off") and needs to be redone.
On 12/11/20 9:41 PM, Eduardo Habkost wrote: > On Fri, Dec 11, 2020 at 09:31:23AM +0100, Claudio Fontana wrote: >> Signed-off-by: Claudio Fontana <cfontana@suse.de> >> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> >> --- >> target/i386/{ => whpx}/whp-dispatch.h | 0 >> target/i386/{ => whpx}/whpx-cpus.h | 0 >> target/i386/{ => whpx}/whpx-all.c | 0 >> target/i386/{ => whpx}/whpx-cpus.c | 0 >> MAINTAINERS | 5 +---- >> target/i386/meson.build | 5 +---- >> target/i386/whpx/meson.build | 4 ++++ >> 7 files changed, 6 insertions(+), 8 deletions(-) >> rename target/i386/{ => whpx}/whp-dispatch.h (100%) >> rename target/i386/{ => whpx}/whpx-cpus.h (100%) >> rename target/i386/{ => whpx}/whpx-all.c (100%) >> rename target/i386/{ => whpx}/whpx-cpus.c (100%) >> create mode 100644 target/i386/whpx/meson.build >> > > Unfortunately this conflicts with commit faf20793b5af ("WHPX: > support for the kernel-irqchip on/off") and needs to be redone. > Hi Eduardo, I saw some conflict yesterday yes, it's minor, np. Ciao, Claudoi
diff --git a/target/i386/whp-dispatch.h b/target/i386/whpx/whp-dispatch.h similarity index 100% rename from target/i386/whp-dispatch.h rename to target/i386/whpx/whp-dispatch.h diff --git a/target/i386/whpx-cpus.h b/target/i386/whpx/whpx-cpus.h similarity index 100% rename from target/i386/whpx-cpus.h rename to target/i386/whpx/whpx-cpus.h diff --git a/target/i386/whpx-all.c b/target/i386/whpx/whpx-all.c similarity index 100% rename from target/i386/whpx-all.c rename to target/i386/whpx/whpx-all.c diff --git a/target/i386/whpx-cpus.c b/target/i386/whpx/whpx-cpus.c similarity index 100% rename from target/i386/whpx-cpus.c rename to target/i386/whpx/whpx-cpus.c diff --git a/MAINTAINERS b/MAINTAINERS index 5b3eced829..20e079f40c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -451,10 +451,7 @@ F: include/sysemu/hvf.h WHPX CPUs M: Sunil Muthuswamy <sunilmut@microsoft.com> S: Supported -F: target/i386/whpx-all.c -F: target/i386/whpx-cpus.c -F: target/i386/whp-dispatch.h -F: accel/stubs/whpx-stub.c +F: target/i386/whpx/ F: include/sysemu/whpx.h Guest CPU Cores (Xen) diff --git a/target/i386/meson.build b/target/i386/meson.build index 0209542a8a..62cd042915 100644 --- a/target/i386/meson.build +++ b/target/i386/meson.build @@ -27,10 +27,6 @@ i386_softmmu_ss.add(files( 'machine.c', 'monitor.c', )) -i386_softmmu_ss.add(when: 'CONFIG_WHPX', if_true: files( - 'whpx-all.c', - 'whpx-cpus.c', -)) i386_softmmu_ss.add(when: 'CONFIG_HAX', if_true: files( 'hax-all.c', 'hax-mem.c', @@ -40,6 +36,7 @@ i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_POSIX'], if_true: files('hax-po i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_WIN32'], if_true: files('hax-windows.c')) subdir('kvm') +subdir('whpx') subdir('hvf') target_arch += {'i386': i386_ss} diff --git a/target/i386/whpx/meson.build b/target/i386/whpx/meson.build new file mode 100644 index 0000000000..94a72c8efc --- /dev/null +++ b/target/i386/whpx/meson.build @@ -0,0 +1,4 @@ +i386_softmmu_ss.add(when: 'CONFIG_WHPX', if_true: files( + 'whpx-all.c', + 'whpx-cpus.c', +))