hw/cxl: Make the CXL fixed memory window setup a machine parameter.
Paolo Bonzini requested this change to simplify the ongoing effort to allow machine setup entirely via RPC. Includes shortening the command line form cxl-fixed-memory-window to cxl-fmw as the command lines are extremely long even with this change. The json change is needed to ensure that there is a CXLFixedMemoryWindowOptionsList even though the actual element in the json is never used. Similar to existing SgxEpcProperties. Update qemu-options.hx to reflect that this is now a -machine parameter. The bulk of -M / -machine parameters are documented under machine, so use that in preference to M. Update cxl-test and bios-tables-test to reflect new parameters. Signed-off-by:Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by:
Ben Widawsky <ben@bwidawsk.net> Reviewed-by:
Davidlohr Bueso <dave@stgolabs.net> Message-Id: <20220608145440.26106-2-Jonathan.Cameron@huawei.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- docs/system/devices/cxl.rst 2 additions, 2 deletionsdocs/system/devices/cxl.rst
- hw/core/machine.c 0 additions, 22 deletionshw/core/machine.c
- hw/cxl/cxl-host-stubs.c 2 additions, 4 deletionshw/cxl/cxl-host-stubs.c
- hw/cxl/cxl-host.c 67 additions, 5 deletionshw/cxl/cxl-host.c
- hw/i386/pc.c 3 additions, 0 deletionshw/i386/pc.c
- hw/pci-bridge/pci_expander_bridge.c 1 addition, 1 deletionhw/pci-bridge/pci_expander_bridge.c
- include/hw/boards.h 1 addition, 0 deletionsinclude/hw/boards.h
- include/hw/cxl/cxl.h 2 additions, 5 deletionsinclude/hw/cxl/cxl.h
- include/hw/cxl/cxl_host.h 21 additions, 0 deletionsinclude/hw/cxl/cxl_host.h
- qapi/machine.json 13 additions, 0 deletionsqapi/machine.json
- qemu-options.hx 34 additions, 39 deletionsqemu-options.hx
- softmmu/vl.c 0 additions, 44 deletionssoftmmu/vl.c
- tests/qtest/bios-tables-test.c 2 additions, 2 deletionstests/qtest/bios-tables-test.c
- tests/qtest/cxl-test.c 2 additions, 2 deletionstests/qtest/cxl-test.c
Loading
Please register or sign in to comment