aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/slotid_cap.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-04 11:37:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-03-01 13:54:10 +0100
commitb4a42f81383d60900aae09513f42eb857a5a7c7c (patch)
tree952c4781da510cc183ec4770c9c00993d357d88d /hw/pci/slotid_cap.c
parentfd7f0d66177ec1058a2a256856ff38fc9ceae5af (diff)
downloadqemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.zip
qemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.tar.gz
qemu-b4a42f81383d60900aae09513f42eb857a5a7c7c.tar.bz2
hw: move qdev-monitor.o to toplevel directory
qdev-monitor.c is the only "core qdev" file that is not used in user-mode emulation, and it does not define anything that is used by hardware models. Remove it from the hw/ directory and remove hw/qdev-monitor.h from hw/qdev.h too; this requires some files to have some new explicitly includes. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci/slotid_cap.c')
-rw-r--r--hw/pci/slotid_cap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci/slotid_cap.c b/hw/pci/slotid_cap.c
index 99a30f4..62f7bae 100644
--- a/hw/pci/slotid_cap.c
+++ b/hw/pci/slotid_cap.c
@@ -1,5 +1,6 @@
#include "hw/pci/slotid_cap.h"
#include "hw/pci/pci.h"
+#include "qemu/error-report.h"
#define SLOTID_CAP_LENGTH 4
#define SLOTID_NSLOTS_SHIFT (ffs(PCI_SID_ESR_NSLOTS) - 1)