-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[virtio-block] Request support for multi-stage resume of Windows to speed up hibernate/resume #1099
Comments
@zkq Thanks for reporting the issue. Please kindly notice that S3 and S4 is not officially supported by qemu [1], So I am afraid this also won't be virtio-win drivers' priority. |
@vivianQizhu Cheers, |
@vrozenfe |
Hi, A good news that I have written some demo code and the vio-block driver supports MultiPhaseResume now. But the boot time is still very slow:
And another issue of vio-block driver is about hibernate. When I start hibernate, all vCPUs run 100% for 1~2 minutes before windows writes hibernate file into disk. As I can see with NVME virtual device, the hibernate and resume process both are very fast. I guess the issue of vio-block for hibernate and resume are same as the problem looks similar. Do you have any idea how to solve these issues? |
@zkq can you please share a demo code? |
I have a Windows11 guest booted with QEMU and Virtio-blk device, it hibernates very slow (about several minutes) and the resume phase is single-stage(so resume time is longer). After I change the block device to nvme, it hibernates very fast(about several seconds) and the resume phase is two-stages(resume is very fast).
I don't know why virtio-block does not support the multi-stage resume, we'd better support it to have a much better user experience.
FYI:
The text was updated successfully, but these errors were encountered: