On Fri, May 03, 2013 at 10:45:17AM +0800, Liu Ping Fan wrote: > diff --git a/include/exec/memory.h b/include/exec/memory.h > index 9e88320..2761668 100644 > --- a/include/exec/memory.h > +++ b/include/exec/memory.h > @@ -887,6 +887,7 @@ void *address_space_map(AddressSpace *as, hwaddr addr, > void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len, > int is_write, hwaddr access_len); > > +void hostmem_init(void);
This should go in hostmem.h. exec.c must now include hostmem.h. You need to take care of the ./configure dependency: hostmem.o is only build when CONFIG_VIRTIO_BLK_DATA_PLANE is 'y'.