Peter Maydell <peter.mayd...@linaro.org> writes: > On Mon, 9 Jan 2023 at 14:19, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: >> >> On 9/1/23 14:33, BALATON Zoltan wrote: >> > On Mon, 9 Jan 2023, Philippe Mathieu-Daudé wrote: >> >> Use the same property name than the TYPE_PFLASH_CFI01 model. >> > >> > Nothing uses it? Can this break command lines and if so do we need >> > deprecation or some compatibility function until everybody changed their >> > usage? >> >> Good point... I missed that :/ > > That should not be possible, because the cfi02 device > is a sysbus device that must be mapped into memory. There's > no useful way to use it on the QEMU commandline; the only > users are those creating it from C code within QEMU.
I'd say beware of -global, but "fortunately" cfi.pflash01 cannot work with it, since its '.' sabotages the -global's syntax. Related prior discussion in the cover letter of "[PATCH RFC 0/1] QOM type names and QAPI" and the replies to it: Message-Id: <20210129081519.3848145-1-arm...@redhat.com> https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg07541.html The patch there became commit e178113ff6 "hw: Replace anti-social QOM type names". [...]