virtio-mem: Return reize error in MemEpollHandler.run

Return resize error in MemEpollHandler.run.

Fixes: #1081

Signed-off-by: Hui Zhu <teawater@antfin.com>
This commit is contained in:
Hui Zhu
2020-04-29 17:50:17 +08:00
committed by Rob Bradford
parent bc318b64e9
commit 327d67fadf
2 changed files with 32 additions and 15 deletions

View File

@@ -187,4 +187,5 @@ pub enum Error {
VhostUserUpdateMemory(vhost_user::Error),
EventfdError(io::Error),
SetShmRegionsNotSupported,
EpollHander(String),
}