All of lore.kernel.org
 help / color / mirror / Atom feed
From: "René Pfeiffer" <lynx@luchs.at>
To: KVM list <kvm@vger.kernel.org>
Subject: kvm-86 fails to compile with "'IOMMU_CACHE' undeclared"
Date: Wed, 20 May 2009 19:48:59 +0200	[thread overview]
Message-ID: <20090520174858.GA16793@nightfall.luchs.at> (raw)

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

Hello!

I just tried to compile kvm-86 on two test machines and I get the
following error:

[...]
  CC [M]  /usr/src/build/kvm-86/kvm/kernel/x86/iommu.o
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c: In function ‘kvm_iommu_map_pages’:
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: ‘IOMMU_CACHE’ undeclared (first use in this function)
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: (Each undeclared identifier is reported only once
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: for each function it appears in.)
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c: In function ‘kvm_assign_device’:
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:155: error: implicit declaration of function ‘iommu_domain_has_cap’
/usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:156: error: ‘IOMMU_CAP_CACHE_COHERENCY’ undeclared (first use in this function)
make[4]: *** [/usr/src/build/kvm-86/kvm/kernel/x86/iommu.o] Error 1
make[3]: *** [/usr/src/build/kvm-86/kvm/kernel/x86] Error 2
make[2]: *** [_module_/usr/src/build/kvm-86/kvm/kernel] Error 2
make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2

Both machines run Debian Lenny with a custom kernel (2.6.29.1 and
2.6.29.3). One machine is Intel-based (Core2Duo), one is AMD-based. Both
compiled earlier versions of kvm just fine. configure was run without
options.

Best,
René.

-- 
  )\._.,--....,'``.  fL  Let GNU/Linux work for you while you take a nap.
 /,   _.. \   _\  (`._ ,. R. Pfeiffer <lynx at luchs.at> + http://web.luchs.at/
`._.-(,_..'--(,_..'`-.;.'  - System administration + Consulting + Teaching -
Got mail delivery problems?  http://web.luchs.at/information/blockedmail.php

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2009-05-20 18:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 17:48 René Pfeiffer [this message]
2009-05-20 20:30 ` kvm-86 fails to compile with "'IOMMU_CACHE' undeclared" Nikola Ciprich
2009-05-20 20:45   ` Nikola Ciprich
2009-05-21  5:33     ` Chris Wright
2009-05-21  6:18       ` [PATCH kvm-kmod] build fix for !#defined IOMMU_CACHE Chris Wright
2009-05-21  7:46         ` Avi Kivity
2009-05-22  7:51   ` kvm-86 fails to compile with "'IOMMU_CACHE' undeclared" René Pfeiffer

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=20090520174858.GA16793@nightfall.luchs.at \
    --to=lynx@luchs.at \
    --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.