[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] d461a4: target-i386: Don't strdup() alias pro
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] d461a4: target-i386: Don't strdup() alias property name |
Date: |
Thu, 16 Jul 2015 03:00:04 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: d461a44ca4b164549fe19b14d2cdf0524f778ce1
https://github.com/qemu/qemu/commit/d461a44ca4b164549fe19b14d2cdf0524f778ce1
Author: Eduardo Habkost <address@hidden>
Date: 2015-07-15 (Wed, 15 Jul 2015)
Changed paths:
M target-i386/cpu.c
Log Message:
-----------
target-i386: Don't strdup() alias property name
Now object_property_add_alias() calls g_strdup() on the target property
name, so we don't need to call g_strdup() ourselves.
Signed-off-by: Eduardo Habkost <address@hidden>
Commit: 3046bb5debc8153a542acb1df93b2a1a85527a15
https://github.com/qemu/qemu/commit/3046bb5debc8153a542acb1df93b2a1a85527a15
Author: Radim Krčmář <address@hidden>
Date: 2015-07-15 (Wed, 15 Jul 2015)
Changed paths:
M include/hw/i386/pc.h
M target-i386/cpu.c
Log Message:
-----------
target-i386: emulate CPUID level of real hardware
W10 insider has a bug where it ignores CPUID level and interprets
CPUID.(EAX=07H, ECX=0H) incorrectly, because CPUID in fact returned
CPUID.(EAX=04H, ECX=0H); this resulted in execution of unsupported
instructions.
While it's a Windows bug, there is no reason to emulate incorrect level.
I used http://instlatx64.atw.hu/ as a source of CPUID and checked that
it matches Penryn Xeon X5472, Westmere Xeon W3520, SandyBridge i5-2540M,
and Haswell i5-4670T.
kvm64 and qemu64 were bumped to 0xD to allow all available features for
them (and to avoid the same Windows bug).
Signed-off-by: Radim Krčmář <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
Commit: 3749c11a720689694101dcf2ebc43217a02f960f
https://github.com/qemu/qemu/commit/3749c11a720689694101dcf2ebc43217a02f960f
Author: Peter Maydell <address@hidden>
Date: 2015-07-15 (Wed, 15 Jul 2015)
Changed paths:
M include/hw/i386/pc.h
M target-i386/cpu.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into
staging
X86 queue, 2015-07-15
Two bug fixes:
* Memory leak due to extra g_strdup() when registering X86CPU alias properties
* Fix CPUID levels so that W10 insider can run as guest OS
# gpg: Signature made Wed Jul 15 21:26:59 2015 BST using RSA key ID 984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF D1AA 2807 936F 984D C5A6
* remotes/ehabkost/tags/x86-pull-request:
target-i386: emulate CPUID level of real hardware
target-i386: Don't strdup() alias property name
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/be0df8cd1eb8...3749c11a7206
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] d461a4: target-i386: Don't strdup() alias property name,
GitHub <=