On Mon, Nov 17, 2014 at 08:21:00PM +0000, Peter Maydell wrote: > On 17 November 2014 20:08, Michael S. Tsirkin <m...@redhat.com> wrote: > > Add API to allocate on-device RAM. > > This looks just like regular RAM from migration POV, > > but has two special properties internally: > > - it is never exposed to guest > > If it's not exposed to the guest why is it a MemoryRegion? > Those are pretty much the definition of regions of memory > we expose to the guest (via one address space or another)... > > -- PMM
Mostly for migration: we are using page migration machinery to migrate this memory early rather than as part of device state after VM is stopped. -- MST