I sorted the MachineState error. We checkout the commit for serial_hds(). Can get some link for the QEMU internal API changes for different versions machines. As I was not successful in finding one. Arm-cortex-m3 related.
Thanks in advance. BR. Abhijeet. On Mon, Jun 28, 2021, 15:30 Peter Maydell <peter.mayd...@linaro.org> wrote: > On Mon, 28 Jun 2021 at 13:40, abhijeet inamdar > <abhijeetinamdar3...@gmail.com> wrote: > > > > I didn't do any changes in the QEMU source code but added new for the .c > and .h files for the custom machine. > > That *is* changing the QEMU source code :-) Sorry, I'd missed you > were adding your own custom machine. > > You'll find that QEMU's internal APIs change a lot from version > to version, so you'll need to update the code you've written > for your machine to follow those API changes. The best thing here > is to look at how the code for other machines has been changed > between versions (especially if there is one particular other > machine that you used as a template when writing your own). > > For the errors relating to serial_hds you will need to make > changes similar to those in commit 9bca0edb282de0007. I can't > say about the MachineState error without more detail. > > thanks > -- PMM >