summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorGerd Hoffmann2020-06-19 11:18:56 +0200
committerMichael S. Tsirkin2020-06-24 23:18:28 +0200
commit2055dbc1c9cd548628b06bc2547d3c617b5b03be (patch)
tree69e8cf885e2dde5e6cae097b18fc17e4b8be8aae /stubs
parentacpi: bios-tables-test: show more context on asl diffs (diff)
downloadqemu-2055dbc1c9cd548628b06bc2547d3c617b5b03be.tar.gz
qemu-2055dbc1c9cd548628b06bc2547d3c617b5b03be.tar.xz
qemu-2055dbc1c9cd548628b06bc2547d3c617b5b03be.zip
acpi: move aml builder code for floppy device
DSDT change: isa device order changes in case MI1 (ipmi) is present. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20200619091905.21676-4-kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/Makefile.objs1
-rw-r--r--stubs/cmos.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index 28e48171d1..f32b9e47a3 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -1,4 +1,5 @@
stub-obj-y += blk-commit-all.o
+stub-obj-y += cmos.o
stub-obj-y += cpu-get-clock.o
stub-obj-y += cpu-get-icount.o
stub-obj-y += dump.o
diff --git a/stubs/cmos.c b/stubs/cmos.c
new file mode 100644
index 0000000000..416cbe4055
--- /dev/null
+++ b/stubs/cmos.c
@@ -0,0 +1,7 @@
+#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
+
+int cmos_get_fd_drive_type(FloppyDriveType fd0)
+{
+ return 0;
+}