summaryrefslogtreecommitdiffstats
path: root/include/sysemu/sysemu.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-03-17 13:40:22 +1100
committerAndreas Färber <afaerber@suse.de>2014-03-20 02:40:07 +0100
commit30e32af7466841f5fc08a5339e2184884a7bc6f3 (patch)
treeb653e9ac53b40d09dea077694c91260a47e8aa8b /include/sysemu/sysemu.h
parenta46622fd07edc6fd3c66f8ab79b4782a78b115f3 (diff)
downloadhqemu-30e32af7466841f5fc08a5339e2184884a7bc6f3.zip
hqemu-30e32af7466841f5fc08a5339e2184884a7bc6f3.tar.gz
vl.c: Extend get_boot_devices_list() to ignore suffixes
As suffixes do not make sense for sPAPR's device tree and there is no way to filter them out on the BusState::get_fw_dev_path() level, let's add an ability for the external caller to specify whether to apply suffixes or not. We could handle suffixes in SLOF (ignored for now) but this would require serious rework in the node opening code in SLOF, which has no obvious benefit for the currently emulated sPAPR machine. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/sysemu/sysemu.h')
-rw-r--r--include/sysemu/sysemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index c01304d..3915ce3 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -186,7 +186,7 @@ void rtc_change_mon_event(struct tm *tm);
void add_boot_device_path(int32_t bootindex, DeviceState *dev,
const char *suffix);
-char *get_boot_devices_list(size_t *size);
+char *get_boot_devices_list(size_t *size, bool ignore_suffixes);
DeviceState *get_boot_device(uint32_t position);
OpenPOWER on IntegriCloud