From: Philippe Mathieu-Daudé Date: Sat, 18 Jan 2020 14:06:18 +0000 (+0100) Subject: hw/core: Restrict reset handlers API to system-mode X-Git-Tag: qemu-xen-4.14.0~177^2~42 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=62d8e706ec8ce4d842a9bdf4d6c0785af768530b;p=qemu-xen.git 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é Reviewed-by: Alex Bennée Reviewed-by: Thomas Huth Message-Id: <20200118140619.26333-6-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs index 0edd9e635d..2fea68ccf7 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: