jonomango / hv

Lightweight Intel VT-x Hypervisor.
MIT License
363 stars 77 forks source link

support unload hv #1

Closed alienwu2018 closed 2 years ago

alienwu2018 commented 2 years ago

hello teacher,sometime i just use hv for a minute,so i hope hv can support unload hypervistor instead of reboot system

jonomango commented 2 years ago

This shouldn't be too difficult to implement, although a lot of code will need to be reworked. I'll try to get it added by tomorrow.

alienwu2018 commented 2 years ago

thanks teacher!

jonomango commented 2 years ago

I added hv::stop() in https://github.com/jonomango/hv/commit/649a694acedad668f091590f5ecfb9e76aa1c06f for devirtualizing the system. This will automatically get called on driver unload and is good for rapid testing. Let me know if you encounter any issues.

alienwu2018 commented 2 years ago

yeach!I rebuild this version today and i try it many times. I can  stop the hv and devirtualizing the system successfully in winver 21h2.Thanks teacher very much.(●'◡'●)

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月16日(星期一) 上午10:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [jonomango/hv] support unload hv (Issue #1)

I added hv::stop() in 649a694 for devirtualizing the system. This will automatically get called on driver unload and is good for rapid testing. Let me know if you encounter any issues.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>