]> git.proxmox.com Git - qemu.git/commit
target-i386: forward CPUID cache leaves when -cpu host is used
authorBenoît Canet <benoit@irqsave.net>
Mon, 2 Sep 2013 15:06:37 +0000 (17:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Sep 2013 10:38:40 +0000 (12:38 +0200)
commit787aaf5703a702094f395db6795e74230282cd62
tree3ff3b47cf751c04798fb4923a8fceeec3b4fc9a8
parentc5daeae1b4ddff97d605bd954a7c2a2b2cf6040f
target-i386: forward CPUID cache leaves when -cpu host is used

Some users running cpu intensive tasks checking the cache CPUID leaves at
startup and making decisions based on the result reported that the guest was
not reflecting the host CPUID leaves when -cpu host is used.

This patch fix this.

Signed-off-by: Benoît Canet <benoit@irqsave.net>
[Rename new field to cache_info_passthrough - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu-qom.h
target-i386/cpu.c