vl.c: Extend get_boot_devices_list() to ignore suffixes
commit30e32af7466841f5fc08a5339e2184884a7bc6f3
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 17 Mar 2014 02:40:22 +0000 (17 13:40 +1100)
committerAndreas Färber <afaerber@suse.de>
Thu, 20 Mar 2014 01:40:07 +0000 (20 02:40 +0100)
treeb653e9ac53b40d09dea077694c91260a47e8aa8b
parenta46622fd07edc6fd3c66f8ab79b4782a78b115f3
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>
hw/nvram/fw_cfg.c
include/sysemu/sysemu.h
vl.c