From 8ccb56384940651c251b414216b260f33bcae7ae Mon Sep 17 00:00:00 2001 From: Eric Auger Date: Thu, 22 Aug 2019 19:23:46 +0200 Subject: memory: Remove unused memory_region_iommu_replay_all() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit memory_region_iommu_replay_all is not used. Remove it. Signed-off-by: Eric Auger Reported-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Peter Xu Message-id: 20190822172350.12008-2-eric.auger@redhat.com Signed-off-by: Peter Maydell --- include/exec/memory.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/exec/memory.h b/include/exec/memory.h index fddc2ff..ecca388 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -1087,16 +1087,6 @@ void memory_region_register_iommu_notifier(MemoryRegion *mr, void memory_region_iommu_replay(IOMMUMemoryRegion *iommu_mr, IOMMUNotifier *n); /** - * memory_region_iommu_replay_all: replay existing IOMMU translations - * to all the notifiers registered. - * - * Note: this is not related to record-and-replay functionality. - * - * @iommu_mr: the memory region to observe - */ -void memory_region_iommu_replay_all(IOMMUMemoryRegion *iommu_mr); - -/** * memory_region_unregister_iommu_notifier: unregister a notifier for * changes to IOMMU translation entries. * -- cgit v1.1 From 3306bd509c7e47fa0af1f1964fadfe086d8f24aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 28 Aug 2019 17:53:03 +0100 Subject: includes: remove stale [smp|max]_cpus externs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit a5e0b3311 removed these in favour of querying machine properties. Remove the extern declarations as well. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20190828165307.18321-6-alex.bennee@linaro.org Cc: Like Xu Message-Id: <20190711130546.18578-1-alex.bennee@linaro.org> Signed-off-by: Peter Maydell --- include/sysemu/sysemu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index d2c38f6..44f18eb 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -42,8 +42,6 @@ extern const char *keyboard_layout; extern int win2k_install_hack; extern int alt_grab; extern int ctrl_grab; -extern int smp_cpus; -extern unsigned int max_cpus; extern int cursor_hide; extern int graphic_rotate; extern int no_quit; -- cgit v1.1 From 1eb21c428b1e8c9845c82c152a75d046fb19d6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 28 Aug 2019 17:53:07 +0100 Subject: include/exec/cpu-defs.h: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-id: 20190828165307.18321-10-alex.bennee@linaro.org Signed-off-by: Peter Maydell --- include/exec/cpu-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index 189709b..be946ba 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -231,7 +231,7 @@ typedef struct CPUTLB { } CPUTLB; #endif /* !CONFIG_USER_ONLY && CONFIG_TCG */ /* - * This structure must be placed in ArchCPU immedately + * This structure must be placed in ArchCPU immediately * before CPUArchState, as a field named "neg". */ typedef struct CPUNegativeOffsetState { -- cgit v1.1