xemu/hw/nvram
Mark Cave-Ayland 6e99c075a0 fw_cfg: switch fw_cfg_find() to locate the fw_cfg device by type rather than path
This will enable the fw_cfg device to be placed anywhere within the QOM tree
regardless of its machine location.

Note that we also add a comment to document the behaviour that we return NULL to
indicate failure where either no fw_cfg device or multiple fw_cfg devices are
found.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <1500025208-14827-2-git-send-email-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-07-17 15:41:30 -03:00
..
chrp_nvram.c nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch] 2016-10-28 09:36:58 +11:00
ds1225y.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
eeprom93xx.c vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00
fw_cfg.c fw_cfg: switch fw_cfg_find() to locate the fw_cfg device by type rather than path 2017-07-17 15:41:30 -03:00
mac_nvram.c migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00
Makefile.objs nvram: Introduce helper functions for CHRP "system" and "free space" partitions 2016-10-28 09:36:58 +11:00
spapr_nvram.c spapr_nvram: Check return value from blk_getlength() 2017-06-06 09:18:32 +10:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00