]> git.proxmox.com Git - mirror_qemu.git/commit
ioport: split deletion and destruction
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jun 2014 11:02:51 +0000 (13:02 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 17 Aug 2014 21:25:24 +0000 (23:25 +0200)
commite3fb0ade83420a86464ee50c71f2daf5641cab10
tree7baba155ac292b418f3ca852d8a70ffe1e7c4886
parenteed79309502034d348880414e1dc156c0c4b196c
ioport: split deletion and destruction

Of the two functions portio_list_del and portio_list_destroy,
the latter is just freeing a memory area.  However, portio_list_del
is the logical equivalent of memory_region_del_subregion so
destruction of memory regions does not belong there.

Actually, neither of these APIs are in use; portio is mostly used by
ISA devices or VGAs, and neither of these is currently hot-unpluggable.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ioport.c