Add qemu_ram_alloc_from_ptr function
authorCam Macdonell <cam@cs.ualberta.ca>
Tue, 27 Jul 2010 00:10:57 +0000 (18:10 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 10 Aug 2010 21:25:15 +0000 (16:25 -0500)
commitcd6704980d8f16cfb8f9cda64afc810eff5e6726
tree3ad1a2281eeb375fcf8d2ade7576d70cfdd072fb
parentb69e11464955ac56dbd06c92c65563fa17163848
Add qemu_ram_alloc_from_ptr function

Provide a function to add an allocated region of memory to the qemu RAM.

This patch is copied from Marcelo's qemu_ram_map() in qemu-kvm and given the
clearer name qemu_ram_alloc_from_ptr().

Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-common.h
exec.c