On Mon, 09/12 16:23, Stephen Bates wrote: > Hi Hi Stephen,
> > I sent this to qemu-discuss with no success so resending to qemu-devel. > > I am doing some very low level OS design work and wanted to be able to > alter some values in the physical memory of my QEMU guest. I can see quite > a few ways to print/dump both physical and virtual addresses but nothing > that can alter arbitrary physical/virtual addresses? > > Does such a feature exist in Qemu and if it does are there pointers to > documentation for it? Have you tried the builtin gdbstub in QEMU? You can add "-s" to the QEMU command line and then connect to it from gdb with "target remote :1234". There you can inspect or change memory more easily. Fam > > I do see that we can use file backing for very large memory regions via > the memory-backing-file option but I am not really trying to alter massive > regions of memory in this case. > > Cheers > > Stephen Bates >