]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: correct cpu_x86_cpuid(0xd)
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 28 Sep 2018 10:43:19 +0000 (12:43 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 31 Oct 2018 00:14:43 +0000 (21:14 -0300)
commitde2e68c902f7b6e438b0fa3cfedd74a06a20704f
tree6f4495f4137d678a0fe8213847eeb6b1923e843e
parenta2e002ff7913ce93aa0f7dbedd2123dce5f1a9cd
i386: correct cpu_x86_cpuid(0xd)

Intel SDM says for CPUID function 0DH, sub-function 0:

| • ECX enumerates the size (in bytes) required by the XSAVE instruction for an
|   XSAVE area containing all the user state components supported by this
|   processor.
| • EBX enumerates the size (in bytes) required by the XSAVE instruction for an
|   XSAVE area containing all the user state components corresponding to bits
|   currently set in XCR0.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Message-Id: <20180928104319.3296-1-bigeasy@linutronix.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c