Open jiangliu opened 2 years ago
@jiangliu can you fix the conflicts so we can merge the PR? Thanks.
@jiangliu can you fix the conflicts so we can merge the PR? Thanks.
@lauralt hi, I have updated the PR, thanks:)
(Did not mean to close, sorry).
Add new method as_any() to GuestAddressSpace, which returns reference to a std::any::Any trait object. Then downcast_ref() could be used to get the concrete type of GuestAddressSpace trait object.
Signed-off-by: Liu Jiang gerry@linux.alibaba.com
Summary of the PR
Please summarize here why the changes in this PR are needed.
Requirements
Before submitting your PR, please make sure you addressed the following requirements:
git commit -s
), and the commit message has max 60 characters for the summary and max 75 characters for each description line.unsafe
code is properly documented.