Re: [Qemu-devel] [PATCH v1] pc-dimm: fix error messages if no slots were defined

2018-04-26 Thread David Hildenbrand
On 26.04.2018 13:41, Marcel Apfelbaum wrote: > Hi David, > > On 26/04/2018 13:34, David Hildenbrand wrote: >> If not slots were defined we try to allocate an empty bitmap, which > > not -> no > >> fails. >> >> Signed-off-by: David Hildenbrand >> --- >> >> This fixes the queued patch "exec: Allo

Re: [Qemu-devel] [PATCH v1] pc-dimm: fix error messages if no slots were defined

2018-04-26 Thread Marcel Apfelbaum
Hi David, On 26/04/2018 13:34, David Hildenbrand wrote: > If not slots were defined we try to allocate an empty bitmap, which not -> no > fails. > > Signed-off-by: David Hildenbrand > --- > > This fixes the queued patch "exec: Allow memory regions with size 0" > > hw/mem/pc-dimm.c | 8 +

[Qemu-devel] [PATCH v1] pc-dimm: fix error messages if no slots were defined

2018-04-26 Thread David Hildenbrand
If not slots were defined we try to allocate an empty bitmap, which fails. Signed-off-by: David Hildenbrand --- This fixes the queued patch "exec: Allow memory regions with size 0" hw/mem/pc-dimm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/mem/pc-dimm.c b/hw