qemu/include/hw/misc
Markus Armbruster e178113ff6 hw: Replace anti-social QOM type names
Several QOM type names contain ',':

    ARM,bitband-memory
    etraxfs,pic
    etraxfs,serial
    etraxfs,timer
    fsl,imx25
    fsl,imx31
    fsl,imx6
    fsl,imx6ul
    fsl,imx7
    grlib,ahbpnp
    grlib,apbpnp
    grlib,apbuart
    grlib,gptimer
    grlib,irqmp
    qemu,register
    SUNW,bpp
    SUNW,CS4231
    SUNW,DBRI
    SUNW,DBRI.prom
    SUNW,fdtwo
    SUNW,sx
    SUNW,tcx
    xilinx,zynq_slcr
    xlnx,zynqmp
    xlnx,zynqmp-pmu-soc
    xlnx,zynq-xadc

These are all device types.  They can't be plugged with -device /
device_add, except for xlnx,zynqmp-pmu-soc, and I doubt that one
actually works.

They *can* be used with -device / device_add to request help.
Usability is poor, though: you have to double the comma, like this:

    $ qemu-system-x86_64 -device SUNW,,fdtwo,help

Trap for the unwary.  The fact that this was broken in
device-introspect-test for more than six years until commit e27bd49876
fixed it demonstrates that "the unwary" includes seasoned developers.

One QOM type name contains ' ': "ICH9 SMB".  Because having to
remember just one way to quote would be too easy.

Rename the "SUNW,FOO types to "sun-FOO".  Summarily replace ',' and '
' by '-' in the other type names.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210304140229.575481-2-armbru@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-19 15:18:43 +01:00
..
macio
a9scu.h
allwinner-cpucfg.h
allwinner-h3-ccu.h
allwinner-h3-dramc.h
allwinner-h3-sysctrl.h
allwinner-sid.h
arm11scu.h
arm_integrator_debug.h
armsse-cpu-pwrctrl.h
armsse-cpuid.h
armsse-mhu.h
aspeed_lpc.h
aspeed_scu.h
aspeed_sdmc.h
aspeed_xdma.h
auxbus.h
avr_power.h
bcm2835_cprman.h
bcm2835_cprman_internals.h
bcm2835_mbox.h
bcm2835_mbox_defs.h
bcm2835_mphi.h
bcm2835_property.h
bcm2835_rng.h
bcm2835_thermal.h
cbus.h
emc141x_regs.h
empty_slot.h
grlib_ahb_apb_pnp.h hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
imx6_ccm.h
imx6_src.h
imx6ul_ccm.h
imx7_ccm.h
imx7_gpr.h
imx7_snvs.h
imx25_ccm.h
imx31_ccm.h
imx_ccm.h
imx_rngc.h
iotkit-secctl.h
iotkit-sysctl.h
iotkit-sysinfo.h
ivshmem.h
led.h
mac_via.h
max111x.h
mchp_pfsoc_dmc.h
mchp_pfsoc_ioscb.h
mchp_pfsoc_sysreg.h
mips_cmgcr.h
mips_cpc.h
mips_itu.h
mos6522.h
mps2-fpgaio.h
mps2-scc.h
msf2-sysreg.h
npcm7xx_clk.h
npcm7xx_gcr.h
npcm7xx_mft.h
npcm7xx_pwm.h
npcm7xx_rng.h
nrf51_rng.h
pca9552.h
pca9552_regs.h
pvpanic.h
sifive_e_prci.h
sifive_test.h
sifive_u_otp.h
sifive_u_prci.h
stm32f2xx_syscfg.h
stm32f4xx_exti.h
stm32f4xx_syscfg.h
tmp105_regs.h
tz-mpc.h
tz-msc.h
tz-ppc.h
unimp.h
virt_ctrl.h
vmcoreinfo.h
xlnx-versal-xramc.h
zynq-xadc.h hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00