Skip to content
Commit c5b703ac authored by Avi Kivity's avatar Avi Kivity
Browse files

ioport: add destructor method to IORange



Previously all callers had a containing object with a destructor that
could be used to trigger cleanup of the IORange objects (typically
just freeing the containing object), but a forthcoming memory API
change doesn't fit this pattern.  Rather than setting up a new global
table, extend the ioport system to support destructors.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 2aeabc08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment