From patchwork Fri Mar 26 20:21:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zachary Amsden X-Patchwork-Id: 48590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1FD60B7BFA for ; Fri, 26 Mar 2010 08:08:39 +1100 (EST) Received: from localhost ([127.0.0.1]:46025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuuGz-0004lJ-TA for incoming@patchwork.ozlabs.org; Thu, 25 Mar 2010 17:07:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NutaF-0006iD-Jh for qemu-devel@nongnu.org; Thu, 25 Mar 2010 16:23:15 -0400 Received: from [140.186.70.92] (port=54696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NutaD-0006hB-TG for qemu-devel@nongnu.org; Thu, 25 Mar 2010 16:23:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nuta8-0005wG-Px for qemu-devel@nongnu.org; Thu, 25 Mar 2010 16:23:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16403) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nuta8-0005v6-1H for qemu-devel@nongnu.org; Thu, 25 Mar 2010 16:23:08 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2PKN40X012666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Mar 2010 16:23:04 -0400 Received: from [10.11.8.148] (vpn-8-148.rdu.redhat.com [10.11.8.148]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2PKN2FC008957 for ; Thu, 25 Mar 2010 16:23:03 -0400 Message-ID: <4BAD1763.4040602@redhat.com> Date: Fri, 26 Mar 2010 10:21:55 -1000 From: Zachary Amsden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100325 Thunderbird/3.0.3 MIME-Version: 1.0 To: QEMU Developers X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH] Fix busted driftfix option X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org For some reason, this uses CONFIG_TARGET_I386 instead of TARGET_I386, so the code is dead. CONFIG_TARGET_XXX is wrong Signed-off-by: Zachary Amsden diff --git a/vl.c b/vl.c index 6e35cc6..9720619 100644 --- a/vl.c +++ b/vl.c @@ -1565,7 +1565,7 @@ static void configure_rtc(QemuOpts *opts) exit(1); } } -#ifdef CONFIG_TARGET_I386 +#ifdef TARGET_I386 value = qemu_opt_get(opts, "driftfix"); if (value) { if (!strcmp(buf, "slew")) {