repository: /home/avi/kvm
branch: master
commit e160a6428a776e6ac77c5a8546e814d7e6049587
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Sun Sep 9 15:21:35 2007 +0300

    Revert "kvm: bios: update FACP revision to 2"
    
    This reverts commit a7b3e1705b99677365050aae6dc1da0279fc42a2, which kills
    Vista for no good reason.

diff --git a/bios/rombios32.c b/bios/rombios32.c
index faf771e..816e5cc 100755
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -20,7 +20,6 @@
 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
 #include <stdarg.h>
 #include <stddef.h>
-#include <string.h>
 
 #include "rombios.h"
 
@@ -1203,12 +1202,7 @@ static void acpi_build_table_header(struct 
acpi_table_header *h,
 {
     memcpy(h->signature, sig, 4);
     h->length = cpu_to_le32(len);
-    // Desirable by Windows XP - ACPI 1.0b
-    if (strcmp(sig,"FACP") == 0) {
-        h->revision = 2;
-    } else {
-        h->revision = 1;
-    }
+    h->revision = 1;
 #ifdef BX_QEMU
     memcpy(h->oem_id, "QEMU  ", 6);
     memcpy(h->oem_table_id, "QEMU", 4);

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to