public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Amit Shah <amit.shah@redhat.com>
Cc: kvm@vger.kernel.org, weidong.han@intel.com, benami@il.ibm.com
Subject: Re: [PATCH] KVM: x86: Fix compile when CONFIG_DMAR is not defined
Date: Tue, 16 Sep 2008 10:12:50 -0700	[thread overview]
Message-ID: <48CFE912.7010307@redhat.com> (raw)
In-Reply-To: <1221585027-5248-1-git-send-email-amit.shah@redhat.com>

Amit Shah wrote:
> intel_iommu_found() is not defined if CONFIG_DMAR is not defined
>
> Signed-off-by: Amit Shah <amit.shah@redhat.com>
> ---
>  include/linux/kvm_host.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> index 6252802..5b9d713 100644
> --- a/include/linux/kvm_host.h
> +++ b/include/linux/kvm_host.h
> @@ -331,6 +331,11 @@ static inline int kvm_iommu_unmap_guest(struct kvm *kvm)
>  {
>  	return 0;
>  }
> +
> +static inline int intel_iommu_found()
> +{
> +	return 0;
> +}
>  #endif /* CONFIG_DMAR */
>  
>  static inline void kvm_guest_enter(void)
>   

in linux/intel-iommu.h

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


  reply	other threads:[~2008-09-16 17:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16 17:10 [PATCH] KVM: x86: Fix compile when CONFIG_DMAR is not defined Amit Shah
2008-09-16 17:12 ` Avi Kivity [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-16 17:35 Amit Shah

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=48CFE912.7010307@redhat.com \
    --to=avi@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=benami@il.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=weidong.han@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox