[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/5] hostmem: init/finalize hostmem listener
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 5/5] hostmem: init/finalize hostmem listener |
Date: |
Thu, 11 Apr 2013 12:02:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 01/04/2013 10:20, Liu Ping Fan ha scritto:
> From: Liu Ping Fan <address@hidden>
>
> Signed-off-by: Liu Ping Fan <address@hidden>
> ---
> 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);
>
- Re: [Qemu-devel] [PATCH 2/5] hostmem: make hostmem global and RAM hotunplg safe, (continued)