|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 7/7] Only accept -no-hpet for i386 targets |
Date: | Tue, 15 Jun 2010 15:38:22 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
On 06/15/2010 01:04 PM, address@hidden wrote:
From: Jes Sorensen<address@hidden> Only accept -no-hpet for i386 targets Signed-off-by: Jes Sorensen<address@hidden> --- vl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index e4a9aa9..1977409 100644 --- a/vl.c +++ b/vl.c @@ -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);
This can alternatively be made to match upstream by just removing the #ifdef on no_hpet's declaration.
Not saying that -no-hpet makes any sense on non-i386 targets, mind, but it seems pointless to deviate from upstream.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |