-
Notifications
You must be signed in to change notification settings - Fork 26
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
broken on 32-bit kernels #33
Comments
Thanks for the report Can you please share this info: qemu version |
Oh yeah sorry: kernel version: 4.4.195 but i guess it should fail on all kernels running with qemu-system-i386 because we dont check for "i386" in |
This patch fixes the failure to discover the arch type when the VM is started via qemu-system-i386. Two issues are fixed: - The patch adds a check for the string "i386" in the qemu arch string to determine if this is an x86 machine. The x86 backend further determines what x86 mode is enabled by reading MSRs. - The patch updates the code for determining if long mode is enabled to expect that reading the EFER MSR may fail. This failure can happen when the VM machine type is 32-bit - e.g. qemu-system-i386 is used. Issue #33
This patch adds an "i386" backend that allows launching an x86-32 VM via the qemu-system-i386 program. This is test necessary to ensure that gdb-pt-dump correctly determines that the VM is an x86 VM if the target arch is i386. For the kernel, the kolibri image is used. Issue #33
broken on 32-bit x86 kernel
The text was updated successfully, but these errors were encountered: