[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt
From: |
Auger Eric |
Subject: |
Re: [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt |
Date: |
Tue, 18 Oct 2016 15:49:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
Hi Fam,
On 18/10/2016 15:34, Fam Zheng wrote:
> 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.
Many thanks for this analysis.
I will move the stub functions in stubs/ if it does the same job.
Thanks
Eric
>
> Fam
>
- [Qemu-devel] [RFC v5 3/8] memory: Add reserved_iova region type, (continued)
- [Qemu-devel] [RFC v5 3/8] memory: Add reserved_iova region type, Eric Auger, 2016/10/17
- [Qemu-devel] [RFC v5 4/8] memory: memory_region_find_by_name, Eric Auger, 2016/10/17
- [Qemu-devel] [RFC v5 5/8] hw: platform-bus: Enable to map any memory region onto the platform-bus, Eric Auger, 2016/10/17
- [Qemu-devel] [RFC v5 6/8] hw: platform-bus: Add platform bus stub, Eric Auger, 2016/10/17
- [Qemu-devel] [RFC v5 7/8] hw: vfio: common: vfio_prepare_msi_mapping, Eric Auger, 2016/10/17
- [Qemu-devel] [RFC v5 8/8] hw: vfio: common: Adapt vfio_listeners for reserved_iova region, Eric Auger, 2016/10/17
- Re: [Qemu-devel] [RFC v5 0/8] KVM PCI/MSI passthrough with mach-virt, no-reply, 2016/10/17