On 25.02.2016 13:09, Paolo Bonzini wrote:

On 25/02/2016 10:54, Vladimir Sementsov-Ogievskiy wrote:
On 25.02.2016 12:11, Michael S. Tsirkin wrote:
On Thu, Feb 25, 2016 at 11:55:56AM +0300, Vladimir Sementsov-Ogievskiy
wrote:
On 25.02.2016 11:39, Michael S. Tsirkin wrote:
On Thu, Feb 25, 2016 at 10:01:18AM +0300, Vladimir
Sementsov-Ogievskiy wrote:
Stop!
It builds fine here. Did you check out my tree?
anyway, this file should be here, as it is added into Makefile:

--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -35,7 +35,7 @@ stub-obj-y += vmstate.o
   stub-obj-$(CONFIG_WIN32) += fd-register.o
   stub-obj-y += cpus.o
   stub-obj-y += kvm.o
-stub-obj-y += qmp_pc_dimm_device_list.o
+stub-obj-y += pc_dimm.o
   stub-obj-y += target-monitor-defs.o
   stub-obj-y += target-get-monitor-def.o
   stub-obj-y += vhost.o

Hmm that's right.
Thanks!
Looks like it was picking up an old object in the filesystem :(
I'll respin - for now, does everything work for you if you drop
this line from the makefile?
it will break compilation for targets without memory hotplug, it was
discussed on list. stubs are necessary.
mst,

indeed it's not clear to me why you're deleting qmp_pc_dimm_device_list.c...

to put pc_dimm related stubs (qmp_pc_dimm_device_list, pc_dimm_build_list) into one file - stubs/pc_dimm.c


On the other hand, pc_dimm_build_list doesn't need a stub.  Just put it
in hw/virtio/virtio-balloon.c.

It's up to you ofcourse, but for me it is strange. Logically, pc_dimm_build_list is related to pc_dimm.c, and, also there is very similar function pc_dimm_build_list_sorted - it is in pc_dimm.c too (may be these two function should be merged somehow in future).


Paolo

===========
git clone git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tmp
cd tmp/
git checkout for_upstream
./configure  --target-list=x86_64-softmmu
make -j9
make: *** No rule to make target `stubs/pc_dimm.o', needed by
`libqemustub.a'.  Stop



--
Best regards,
Vladimir


Reply via email to