[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] fixup! fix qemu exit on memory hotplug when all
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] fixup! fix qemu exit on memory hotplug when allocation fails at prealloc time |
Date: |
Mon, 25 Jul 2016 17:44:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Igor Mammedov <address@hidden> writes:
> Signed-off-by: Igor Mammedov <address@hidden>
> ---
> - add comment o exit(1) path
> ---
> util/oslib-posix.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/util/oslib-posix.c b/util/oslib-posix.c
> index a60ac97..f2d4e9e 100644
> --- a/util/oslib-posix.c
> +++ b/util/oslib-posix.c
> @@ -356,6 +356,7 @@ void os_mem_prealloc(int fd, char *area, size_t memory,
> Error **errp)
>
> ret = sigaction(SIGBUS, &oldact, NULL);
> if (ret) {
> + /* Terminate QEMU since it can't recover from error */
> perror("os_mem_prealloc: failed to reinstall signal handler");
> exit(1);
> }
Thanks! My R-by stands, of course.
[Qemu-devel] [PATCH] fixup! fix qemu exit on memory hotplug when allocation fails at prealloc time, Igor Mammedov, 2016/07/25
- Re: [Qemu-devel] [PATCH] fixup! fix qemu exit on memory hotplug when allocation fails at prealloc time,
Markus Armbruster <=