aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-01-18 15:06:18 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 20:59:09 +0100
commit62d8e706ec8ce4d842a9bdf4d6c0785af768530b (patch)
treee2b41d0959952939078111e936ed69c3fdc3f59d /hw
parent553ea760bcb1a97a5d7789b4e611c65b663e7e78 (diff)
downloadqemu-62d8e706ec8ce4d842a9bdf4d6c0785af768530b.zip
qemu-62d8e706ec8ce4d842a9bdf4d6c0785af768530b.tar.gz
qemu-62d8e706ec8ce4d842a9bdf4d6c0785af768530b.tar.bz2
hw/core: Restrict reset handlers API to system-mode
The user-mode code does not use this API, restrict it to the system-mode. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200118140619.26333-6-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/core/Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
index 0edd9e6..2fea68c 100644
--- a/hw/core/Makefile.objs
+++ b/hw/core/Makefile.objs
@@ -1,6 +1,7 @@
# core qdev-related obj files, also used by *-user:
common-obj-y += qdev.o qdev-properties.o
-common-obj-y += bus.o reset.o
+common-obj-y += bus.o
+common-obj-$(CONFIG_SOFTMMU) += reset.o
common-obj-$(CONFIG_SOFTMMU) += qdev-fw.o
common-obj-$(CONFIG_SOFTMMU) += fw-path-provider.o
# irq.o needed for qdev GPIO handling: