qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/4] fw_cfg: qdev-related tidy-ups
@ 2017-06-12 21:21 Mark Cave-Ayland
  2017-06-12 21:21 ` [Qemu-devel] [PATCHv2 1/4] fw_cfg: don't map the fw_cfg IO ports in fw_cfg_io_realize() Mark Cave-Ayland
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Mark Cave-Ayland @ 2017-06-12 21:21 UTC (permalink / raw)
  To: qemu-devel, lersek, imammedo, somlo, ehabkost, mst, pbonzini,
	rjones, peter.maydell

As part of some ongoing sun4u work, I need to be able to wire the fw_cfg
IO interface to a separate IO space by instantiating the qdev device instead
of calling fw_cfg_init_io(). This patchset brings FW_CFG_IO in line with
FW_CFG_MEM and tidies up the realize methods accordingly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

v2:
- Fix the QOM bug in patch 1 as indicated by Laszlo
- Minimise code churn compared to v1


Mark Cave-Ayland (4):
  fw_cfg: don't map the fw_cfg IO ports in fw_cfg_io_realize()
  fw_cfg: move setting of FW_CFG_VERSION_DMA bit to fw_cfg_init1()
  fw_cfg: move qdev_init_nofail() from fw_cfg_init1() to callers
  fw_cfg: move QOM type defines into fw_cfg.h

 hw/nvram/fw_cfg.c         |   44 +++++++++++++++++++++-----------------------
 include/hw/nvram/fw_cfg.h |    8 ++++++++
 2 files changed, 29 insertions(+), 23 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-06-16 10:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 21:21 [Qemu-devel] [PATCHv2 0/4] fw_cfg: qdev-related tidy-ups Mark Cave-Ayland
2017-06-12 21:21 ` [Qemu-devel] [PATCHv2 1/4] fw_cfg: don't map the fw_cfg IO ports in fw_cfg_io_realize() Mark Cave-Ayland
2017-06-12 22:27   ` Laszlo Ersek
2017-06-12 23:12     ` Laszlo Ersek
2017-06-13 18:27     ` Mark Cave-Ayland
2017-06-14 12:34   ` Paolo Bonzini
2017-06-12 21:21 ` [Qemu-devel] [PATCHv2 2/4] fw_cfg: move setting of FW_CFG_VERSION_DMA bit to fw_cfg_init1() Mark Cave-Ayland
2017-06-12 22:31   ` Laszlo Ersek
2017-06-12 21:21 ` [Qemu-devel] [PATCHv2 3/4] fw_cfg: move qdev_init_nofail() from fw_cfg_init1() to callers Mark Cave-Ayland
2017-06-12 22:50   ` Laszlo Ersek
2017-06-16  9:52     ` Mark Cave-Ayland
2017-06-12 21:21 ` [Qemu-devel] [PATCHv2 4/4] fw_cfg: move QOM type defines into fw_cfg.h Mark Cave-Ayland
2017-06-12 22:52   ` Laszlo Ersek
2017-06-14 12:38 ` [Qemu-devel] [PATCHv2 0/4] fw_cfg: qdev-related tidy-ups Paolo Bonzini
2017-06-16 10:02   ` Mark Cave-Ayland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).