From: Avi Kivity <[EMAIL PROTECTED]>

It is not available on Intel, and not supported by the emulator.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c
index 3296c58..9a771ff 100644
--- a/qemu/qemu-kvm-x86.c
+++ b/qemu/qemu-kvm-x86.c
@@ -526,6 +526,10 @@ static void do_cpuid_ent(struct kvm_cpuid_entry *e, 
uint32_t function,
     // "Hypervisor present" bit for Microsoft guests
     if (function == 1)
        e->ecx |= (1u << 31);
+
+    // 3dnow isn't properly emulated yet
+    if (function == 0x80000001)
+       e->edx &= ~0xc0000000;
 }
 
 struct kvm_para_features {

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to