You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using gvisor in kvm mode, and it took a decent about of debugging to figure out that it wasn't working because my CPU doesn't support the XSETBV instruction. It would be great if the gvisor documentation on kvm vs ptrace said something about checking CPU flags to see if KVM is supported, and if the code checked the CPU flags early on and gave a clear error message explaining that the CPU isn't supported.
Is this feature related to a specific bug?
When I tried to use KVM mode on this CPU (only showing the first core, because I think all the cores are the same):
From http://ref.x86asm.net/coder64.html#x0F01, I think that's an XSETBV instruction, and from #11 (comment) I think that's linked to the xsave CPU flag. I'm not filing a bug for that, because I think it's completely understandable for gvisor to not support hardware that old, it would just be nice to document what's required for support, and to have clearer error messages if the hardware isn't supported.
Do you have a specific solution in mind?
See above.
The text was updated successfully, but these errors were encountered:
Description
I tried using gvisor in kvm mode, and it took a decent about of debugging to figure out that it wasn't working because my CPU doesn't support the XSETBV instruction. It would be great if the gvisor documentation on kvm vs ptrace said something about checking CPU flags to see if KVM is supported, and if the code checked the CPU flags early on and gave a clear error message explaining that the CPU isn't supported.
Is this feature related to a specific bug?
When I tried to use KVM mode on this CPU (only showing the first core, because I think all the cores are the same):
gvisor gave this error message in the logs:
From http://ref.x86asm.net/coder64.html#x0F01, I think that's an XSETBV instruction, and from #11 (comment) I think that's linked to the xsave CPU flag. I'm not filing a bug for that, because I think it's completely understandable for gvisor to not support hardware that old, it would just be nice to document what's required for support, and to have clearer error messages if the hardware isn't supported.
Do you have a specific solution in mind?
See above.
The text was updated successfully, but these errors were encountered: