diff options
author | Borislav Petkov <bp@suse.de> | 2013-04-25 15:43:04 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-06 22:27:49 +0200 |
commit | 4458c23672904fa131e69897007eeb7c953be7e5 (patch) | |
tree | 4909af564f5016375075ed948746fa1894ecf511 /hw/i386/pc_piix.c | |
parent | 0668af542f99b7bb1d95539829b27d5a1bcecde4 (diff) | |
download | qemu-4458c23672904fa131e69897007eeb7c953be7e5.zip qemu-4458c23672904fa131e69897007eeb7c953be7e5.tar.gz qemu-4458c23672904fa131e69897007eeb7c953be7e5.tar.bz2 |
target-i386: n270 can MOVBE
The Atom core (cpu name "n270" in QEMU speak) supports MOVBE. This is
needed when booting 3.8 and later linux kernels built with the MATOM
target because we require MOVBE in order to boot properly now.
Signed-off-by: Borislav Petkov <bp@suse.de>
[ehabkost: added compat code to disable MOVBE on pc-*-1.4 and older]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r-- | hw/i386/pc_piix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index fe52e5f..f7c80ad 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -250,6 +250,7 @@ static void pc_init_pci_1_4(QEMUMachineInitArgs *args) { pc_sysfw_flash_vs_rom_bug_compatible = true; has_pvpanic = false; + x86_cpu_compat_set_features("n270", FEAT_1_ECX, 0, CPUID_EXT_MOVBE); pc_init_pci(args); } |