qemu-irix/include/qemu
Dr. David Alan Gilbert 422148d3e5 qemu_ram_block_from_host
Postcopy sends RAMBlock names and offsets over the wire (since it can't
rely on the order of ramaddr being the same), and it starts out with
HVA fault addresses from the kernel.

qemu_ram_block_from_host translates a HVA into a RAMBlock, an offset
in the RAMBlock and the global ram_addr_t value.

Rewrite qemu_ram_addr_from_host to use qemu_ram_block_from_host.

Provide qemu_ram_get_idstr since its the actual name text sent on the
wire.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2015-11-10 14:51:48 +01:00
..
acl.h
atomic.h
bitmap.h
bitops.h
bswap.h
buffer.h util: pull Buffer code out of VNC module 2015-10-20 14:59:09 +01:00
compatfd.h
compiler.h
config-file.h
coroutine.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine_int.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
crc32c.h
envlist.h
error-report.h
event_notifier.h util: const event_notifier_get_fd() argument 2015-10-24 18:02:49 +02:00
fifo8.h
fprintf-fn.h
hbitmap.h
host-utils.h host-utils: Add revbit functions 2015-09-15 07:45:33 -07:00
int128.h
iov.h
log.h qemu-log: remove -d ioport 2015-11-04 15:02:30 +01:00
main-loop.h iohandler: Use aio API 2015-09-07 18:14:03 +02:00
memfd.h vhost: add migration block if memfd failed 2015-10-22 14:34:49 +03:00
mmap-alloc.h exec: factor out duplicate mmap code 2015-10-21 09:24:44 +03:00
module.h
notify.h
option.h typedef: add typedef for QemuOpts 2015-09-25 12:04:45 +02:00
option_int.h
osdep.h osdep: Rename qemu_{get, set}_version() to qemu_{, set_}hw_version() 2015-11-04 15:02:31 +01:00
queue.h block: Remove bdrv_swap() 2015-10-16 15:34:30 +02:00
range.h
ratelimit.h
rcu.h rcu: fix comment with s/rcu_gp_lock/rcu_registry_lock/ 2015-09-09 15:34:54 +02:00
rcu_queue.h
readline.h
rfifolock.h
seqlock.h seqlock: read sequence number atomically 2015-09-07 18:12:39 +02:00
sockets.h sockets: move qapi_copy_SocketAddress into qemu-sockets.c 2015-10-20 14:15:48 +01:00
thread-posix.h
thread-win32.h qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
thread.h
throttle.h
timer.h s/cpu_get_real_ticks/cpu_get_host_ticks/ 2015-10-08 19:46:01 +03:00
typedefs.h qemu_ram_block_from_host 2015-11-10 14:51:48 +01:00
uri.h
xattr.h