[Qemu-devel] How guest physical RAM works

2016-01-08 Thread Stefan Hajnoczi
I posted a summary of how pc-dimm, memory-backend, MemoryRegion, and RAMBlock play together to represent guest RAM: http://blog.vmsplice.net/2016/01/qemu-internals-how-guest-physical-ram.html Hope this is useful to anyone trying to understand the internals of QEMU. I've copied the full text

Re: [Qemu-devel] How guest physical RAM works

2016-01-08 Thread Paolo Bonzini
On 08/01/2016 10:29, Stefan Hajnoczi wrote: > As a side-note, the initial RAM that the guest started with might not > be modelled with a "pc-dimm" device and it can't be unplugged. > > The guest RAM itself isn't contained inside the "pc-dimm" object. > Instead the "pc-dimm" must be associated