qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1860575] Re: qemu64 CPU model is incorrect


From: The Lemon Man
Subject: [Bug 1860575] Re: qemu64 CPU model is incorrect
Date: Wed, 22 Jan 2020 16:36:57 -0000

The error message is a rather cryptic "LLVM ERROR: 64-bit code requested on a 
subtarget
that doesn't support it!" as it knows Athlon CPUs don't support the AMD64 ISA.

I will relay the tip to the people managing the VMs, I guess this problem went 
unnoticed
for so long because there are not many `qemu64` users.

I'm available to test a patch whenever it becomes available, I didn't directly 
send one
because I was afraid of breaking the backward compatibility and some (many?) 
VMs.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860575

Title:
  qemu64 CPU model is incorrect

Status in QEMU:
  New

Bug description:
  At the moment the "qemu64" CPU is defined as follows:

  ```
          .vendor = CPUID_VENDOR_AMD,
          .family = 6,
          .model = 6,
          .stepping = 3,
  ```

  According to Wikipedia [1] this means the CPU is defined as part of the
  K7 family while the AMD64 ISA was only introduced with the K8 series!

  This causes some software such as LLVM to notice the problem (32-bit cpu
  with 64-bit capability reported in the cpuid flag) and produce various
  error messages.

  The simple solution would be to upgrade this definition to use the 
Sledgehammer
  family (15) instead. 

  [1] https://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860575/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]