From: Avi Kivity <avi@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] Fix KVM includes in helper.c
Date: Wed, 24 Dec 2008 12:38:19 +0200 [thread overview]
Message-ID: <4952111B.9030507@redhat.com> (raw)
In-Reply-To: <1229964850-23316-1-git-send-email-agraf@suse.de>
Alexander Graf wrote:
> By default target-i386/helper.c does not include config.h, so
> no code in there knows if we're enabling KVM or not.
> This breaks the nested activation, as that's depending on the
> config options.
>
> Of course, with this patch applied the CPUID KVM checks are
> applied twice, as now kvm_enabled() does not default to true
> for the cpuid helper functions. Maybe it's a good idea to
> remove the qemu-kvm-x86.c cpuid code?
>
> This patch fixes compilation broken thanks to my nested SVM
> patches.
>
> @@ -30,6 +30,7 @@
> #include "qemu-common.h"
> #include "kvm.h"
>
> +#include "config.h"
> #include "qemu-kvm.h"
>
Isn't this a problem with upstream qemu as well?
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-12-24 10:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-22 16:54 [PATCH] Fix KVM includes in helper.c Alexander Graf
2008-12-24 10:38 ` Avi Kivity [this message]
2008-12-24 10:49 ` Alexander Graf
2008-12-24 11:33 ` Avi Kivity
2008-12-24 10:58 ` Alexander Graf
2008-12-24 11:38 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4952111B.9030507@redhat.com \
--to=avi@redhat.com \
--cc=agraf@suse.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.