qemu-patch-raspberry4/include
Eduardo Habkost f8e6a11aec target-i386: Set model=6 on qemu64 & qemu32 CPU models
There's no Intel CPU with family=6,model=2, and Linux and Windows guests
disable SEP when seeing that combination due to Pentium Pro erratum #82.

In addition to just having SEP ignored by guests, Skype (and maybe other
applications) runs sysenter directly without passing through ntdll on
Windows, and crashes because Windows ignored the SEP CPUID bit.

So, having model > 2 is a better default on qemu64 and qemu32 for two
reasons: making SEP really available for guests, and avoiding crashing
applications that work on bare metal.

model=3 would fix the problem, but it causes CPU enumeration problems
for Windows guests[1]. So let's set model=6, that matches "Athlon
(PM core)" on AMD and "P2 with on-die L2 cache" on Intel and it allows
Windows to use all CPUs as well as fixing sysenter.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=508623

Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-10-02 16:51:12 +02:00
..
block block: introduce BlockDriver.bdrv_needs_filename to enable some drivers. 2013-09-25 16:21:28 +02:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec tcg-ppc: use new return-argument ld/st helpers 2013-09-25 07:45:39 -07:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
hw target-i386: Set model=6 on qemu64 & qemu32 CPU models 2013-10-02 16:51:12 +02:00
migration migration: add version supporting macros for struct pointer 2013-09-24 13:22:50 +02:00
monitor Merge remote-tracking branch 'kwolf/for-anthony' into staging 2013-09-03 12:32:46 -05:00
net net: Rename send_queue to incoming_queue 2013-09-06 17:01:26 +02:00
qapi qdict: Extract qdict_extract_subqdict 2013-09-25 16:21:28 +02:00
qemu pc,pci,virtio fixes and cleanups 2013-09-30 17:15:01 -05:00
qom QOM CPUState refactorings / X86CPU 2013-09-03 12:33:32 -05:00
sysemu pc,pci,virtio fixes and cleanups 2013-09-30 17:15:01 -05:00
ui spice: fix display initialization 2013-07-30 10:25:47 +02:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h s390: Implement dump-guest-memory support for target s390x 2013-07-30 16:12:25 +02:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h qmp: add interface blockdev-snapshot-delete-internal-sync 2013-09-12 10:12:47 +02:00
qemu-io.h qemu-io: Interface cleanup 2013-06-06 11:27:05 +02:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00