qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Auger Eric <eric.auger@redhat.com>
Cc: qemu-devel@nongnu.org, eric.auger.pro@gmail.com,
	peter.maydell@linaro.org, qemu-arm@nongnu.org,
	alex.williamson@redhat.com, pranav.sawargaonkar@gmail.com,
	diana.craciun@freescale.com, Bharat.Bhushan@freescale.com,
	drjones@redhat.com, christoffer.dall@linaro.org, fkan@apm.com
Subject: Re: [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt
Date: Tue, 18 Oct 2016 21:34:35 +0800	[thread overview]
Message-ID: <20161018133435.GD14000@lemon> (raw)
In-Reply-To: <6011d25f-9302-b3dc-36f1-567daf23b62d@redhat.com>

On Mon, 10/17 22:56, Auger Eric wrote:
> > make[1]: *** No rule to make target `../hw/core/platform-bus-stub.o', needed by `qemu-system-x86_64'.  Stop.
> I can't figure out why this rule is missing?
> 
> I compiled on x86 and aarch64 with
> ./configure --target-list="x86_64-softmmu" --enable-werror and it looks
> OK. What do I miss here?

I think the reason it doesn't work is this: common-obj-y objects are built as
prerequisite of $(SUBDIR_RULES) which is defined in Makefile, from which the
unnest of common-obj-y doesn't include this stub object, because Makefile
doesn't read default-config; later make enters Makefile.target, this time
common-obj-y _includes_ platform-bus-stub.o, but the object rule doesn't work
there.

I think the easiest solution is still move the stub function to stubs/, or
otherwise you need to fix Makefile or rules.mak for this to work.

Fam

  parent reply	other threads:[~2016-10-18 13:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 19:38 [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 1/8] linux-headers: Partial update for MSI IOVA handling Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 2/8] hw: vfio: common: vfio_get_iommu_type1_info Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 3/8] memory: Add reserved_iova region type Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 4/8] memory: memory_region_find_by_name Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 5/8] hw: platform-bus: Enable to map any memory region onto the platform-bus Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 6/8] hw: platform-bus: Add platform bus stub Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 7/8] hw: vfio: common: vfio_prepare_msi_mapping Eric Auger
2016-10-17 19:38 ` [Qemu-devel] [RFC v5 8/8] hw: vfio: common: Adapt vfio_listeners for reserved_iova region Eric Auger
2016-10-17 20:16 ` [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt no-reply
2016-10-17 20:56   ` Auger Eric
2016-10-18  5:49     ` Fam Zheng
2016-10-18 13:34     ` Fam Zheng [this message]
2016-10-18 13:49       ` Auger Eric

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=20161018133435.GD14000@lemon \
    --to=famz@redhat.com \
    --cc=Bharat.Bhushan@freescale.com \
    --cc=alex.williamson@redhat.com \
    --cc=christoffer.dall@linaro.org \
    --cc=diana.craciun@freescale.com \
    --cc=drjones@redhat.com \
    --cc=eric.auger.pro@gmail.com \
    --cc=eric.auger@redhat.com \
    --cc=fkan@apm.com \
    --cc=peter.maydell@linaro.org \
    --cc=pranav.sawargaonkar@gmail.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).