]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
i386: move hax accel files into hax/
authorClaudio Fontana <cfontana@suse.de>
Sat, 12 Dec 2020 15:55:10 +0000 (16:55 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Dec 2020 19:06:53 +0000 (14:06 -0500)
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201212155530.23098-4-cfontana@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
13 files changed:
MAINTAINERS
target/i386/hax/hax-all.c [moved from target/i386/hax-all.c with 100% similarity]
target/i386/hax/hax-cpus.c [moved from target/i386/hax-cpus.c with 100% similarity]
target/i386/hax/hax-cpus.h [moved from target/i386/hax-cpus.h with 100% similarity]
target/i386/hax/hax-i386.h [moved from target/i386/hax-i386.h with 95% similarity]
target/i386/hax/hax-interface.h [moved from target/i386/hax-interface.h with 100% similarity]
target/i386/hax/hax-mem.c [moved from target/i386/hax-mem.c with 100% similarity]
target/i386/hax/hax-posix.c [moved from target/i386/hax-posix.c with 100% similarity]
target/i386/hax/hax-posix.h [moved from target/i386/hax-posix.h with 100% similarity]
target/i386/hax/hax-windows.c [moved from target/i386/hax-windows.c with 100% similarity]
target/i386/hax/hax-windows.h [moved from target/i386/hax-windows.h with 100% similarity]
target/i386/hax/meson.build [new file with mode: 0644]
target/i386/meson.build

index 6f29b37834aaf784ae6b9dccfb45c4ccbf064da2..e03615d76c385a296b1585f3c1506d39ec7ee345 100644 (file)
@@ -492,7 +492,7 @@ W: https://github.com/intel/haxm/issues
 S: Maintained
 F: accel/stubs/hax-stub.c
 F: include/sysemu/hax.h
-F: target/i386/hax-*
+F: target/i386/hax/
 
 Hosts
 -----
similarity index 95%
rename from target/i386/hax-i386.h
rename to target/i386/hax/hax-i386.h
index 48c4abe14e9f8816efc892e7034fc049cb8dcc66..efbb3462389b6e590eb285fa94642ff04afa947b 100644 (file)
@@ -84,13 +84,13 @@ void hax_memory_init(void);
 
 
 #ifdef CONFIG_POSIX
-#include "target/i386/hax-posix.h"
+#include "hax-posix.h"
 #endif
 
 #ifdef CONFIG_WIN32
-#include "target/i386/hax-windows.h"
+#include "hax-windows.h"
 #endif
 
-#include "target/i386/hax-interface.h"
+#include "hax-interface.h"
 
 #endif
diff --git a/target/i386/hax/meson.build b/target/i386/hax/meson.build
new file mode 100644 (file)
index 0000000..77ea431
--- /dev/null
@@ -0,0 +1,7 @@
+i386_softmmu_ss.add(when: 'CONFIG_HAX', if_true: files(
+  'hax-all.c',
+  'hax-mem.c',
+  'hax-cpus.c',
+))
+i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_POSIX'], if_true: files('hax-posix.c'))
+i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_WIN32'], if_true: files('hax-windows.c'))
index 62cd042915179e8e2220b82714571f5522fd0e05..284d52ab8135e8685b7fe5a36b68e246f5df08c4 100644 (file)
@@ -27,15 +27,9 @@ i386_softmmu_ss.add(files(
   'machine.c',
   'monitor.c',
 ))
-i386_softmmu_ss.add(when: 'CONFIG_HAX', if_true: files(
-  'hax-all.c',
-  'hax-mem.c',
-  'hax-cpus.c',
-))
-i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_POSIX'], if_true: files('hax-posix.c'))
-i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_WIN32'], if_true: files('hax-windows.c'))
 
 subdir('kvm')
+subdir('hax')
 subdir('whpx')
 subdir('hvf')