From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39546 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOVFw-0000ne-FJ for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:28:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOVFu-00041A-Ul for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:28:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46102) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOVFu-00040z-O8 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 08:28:38 -0400 Message-ID: <4C1771F3.5090101@redhat.com> Date: Tue, 15 Jun 2010 14:28:35 +0200 From: Jes Sorensen MIME-Version: 1.0 References: <1276599879-22749-1-git-send-email-Jes.Sorensen@redhat.com> <1276599879-22749-8-git-send-email-Jes.Sorensen@redhat.com> <4C177029.1090807@siemens.com> In-Reply-To: <4C177029.1090807@siemens.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 7/7] Only accept -no-hpet for i386 targets List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: avi@redhat.com, qemu-devel@nongnu.org On 06/15/10 14:20, Jan Kiszka wrote: >> @@ -3328,9 +3328,11 @@ int main(int argc, char **argv, char **envp) >> case QEMU_OPTION_no_acpi: >> acpi_enabled = 0; >> break; >> +#ifdef TARGET_I386 >> case QEMU_OPTION_no_hpet: >> no_hpet = 1; >> break; >> +#endif >> case QEMU_OPTION_balloon: >> if (balloon_parse(optarg) < 0) { >> fprintf(stderr, "Unknown -balloon argument %s\n", optarg); > > Upstream carries no-hpet unconditionally now. I guess you need to clean > up a different merge artifact. Upstream seems to have removed the TARGET_I386 around 'int no_hpet = 0;' but to be honest, I think the correct solution is to not expose no_hpet to non x86 targets in upstream. Cheers, Jes