Add cpu_unregister_io_memory and make io mem table index dynamic
commitaada7d6802e05daefe95b06964544ad13bf4e531
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Mar 2008 20:12:08 +0000 (11 17:12 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 16 Mar 2008 12:07:17 +0000 (16 14:07 +0200)
tree6aea876624113f58431bea925cfd96bce2a85d3c
parent4bd7f796af596f41bf62807b1fd0433790460670
Add cpu_unregister_io_memory and make io mem table index dynamic

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: Avi Kivity <avi@qumranet.com>
cpu-all.h
exec.c