virtual-image: Add a notify::removed handler
In general, we rely on the underlying transport layer to throw errors which will abort the current operation. This does not work for the virtual image device though, but we need it there for testing purposes. Add a notify::removed handler that makes things work as expected. Let it throw a protocol error which should not be visible to the outside.
Showing with 27 additions and 0 deletions