[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure err
From: |
Peter Maydell |
Subject: |
Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message |
Date: |
Mon, 23 Aug 2021 10:23:43 +0100 |
On Mon, 23 Aug 2021 at 09:40, David Hildenbrand <david@redhat.com> wrote:
> Not opposed to printing the size, although I doubt that it will really
> stop similar questions/problems getting raised.
The case that triggered this was somebody thinking
-m took a byte count, so very likely that an error message
saying "you tried to allocate 38TB" would have made their
mistake clear in a way that just "allocation failed" did not.
It also means that if a future user asks us for help then
we can look at the error message and immediately tell them
the problem, rather than going "hmm, what are all the possible
ways that allocation might have failed" and going off down
rabbitholes like VM overcommit settings...
-- PMM
- [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Philippe Mathieu-Daudé, 2021/08/20
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/20
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message,
Peter Maydell <=
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Philippe Mathieu-Daudé, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Philippe Mathieu-Daudé, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/23
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Dr. David Alan Gilbert, 2021/08/24
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, David Hildenbrand, 2021/08/24
- Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Igor Mammedov, 2021/08/24
Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Peter Xu, 2021/08/20
Re: [PATCH] softmmu/physmem: Improve guest memory allocation failure error message, Bin Meng, 2021/08/21