qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 15:20:58 +0000 (15:20 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 15:20:58 +0000 (15:20 +0000)
commit8871565764495cfe873b781f52e0d39ecbc3ddf6
tree7419c2d20ea9b7353b39ec7f074893acf3dfe602
parent8b13c4a794e26e4fd61a71858a24d309998825e0
qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)

So drivers can clear their mem io table entries on exit back to unassigned
state.

Also make the io mem index allocation dynamic.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6601 c046a42c-6fe2-441c-8c8c-71466251a162
cpu-all.h
exec.c