Il 01/04/2013 10:20, Liu Ping Fan ha scritto:
> From: Liu Ping Fan <[email protected]>
>
> Signed-off-by: Liu Ping Fan <[email protected]>
> ---
> vl.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/vl.c b/vl.c
> index 7643f16..46a25cf 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -4157,6 +4157,7 @@ int main(int argc, char **argv, char **envp)
> }
>
> os_set_line_buffering();
> + hostmem_init();
>
> qemu_init_cpu_loop();
> qemu_mutex_lock_iothread();
> @@ -4174,6 +4175,7 @@ int main(int argc, char **argv, char **envp)
>
> /* clean up network at qemu process termination */
> atexit(&net_cleanup);
> + atexit(&hostmem_finalize);
This should be in hostmem_init.
Paolo
>
> if (net_init_clients() < 0) {
> exit(1);
>