Skip to contentSkip to conversation

New: Wrong CPUID data returned by KVM

Bug 53361 [email protected] 1 participant 4 messages Feb 2, 2013 – Apr 8, 2019 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=53361

Summary: Wrong CPUID data returned by KVM
Product: Virtualization
Version: unspecified
Kernel Version: 3.2.0-37
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

When booted like this
kvm -cpu core2duo,+xsave -enable-kvm -m 8192 -drive file=freebsd-9.1-qcow2.img
-boot d -net nic -net user -nographic -vnc :0 -cdrom ./isos/FreeBSD-9.1-RELEASE-amd64-disc1.iso

Freebsd crash immediately after the loader with error;

CPU0 does not support X87 or SSE2 : 0

Without the xsave instruction the FreeBSD boot as expected.
I had response from the FreeBSD developers that CPUID should return presence of the FPU extensions and since long mode capable CPU , X87 and SSE2 should be present according to Unix amd64 ABI .
It seems this is not the case when xsave flag is set.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 53361] Wrong CPUID data returned by KVM

https://bugzilla.kernel.org/show_bug.cgi?id=53361

Chris Harrington <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Chris Harrington <[email protected]> --- Looks like the QEMU folks had a relevant change on this bug:

https://lists.gnu.org/archive/html/qemu-devel/2014-02/msg04140.html

Could you retest?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 53361] Wrong CPUID data returned by KVM

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=53361

Daniel Martin ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Daniel Martin ([email protected]) --- (In reply to Ian Allison from comment #2)

Quoted 1 line

seems to be working for me now.

Could anyone close this bug, please?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.