[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 0/2] memory: fix alignment checks/asserts
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v1 0/2] memory: fix alignment checks/asserts |
Date: |
Mon, 11 Jun 2018 15:30:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 07/06/2018 17:47, David Hildenbrand wrote:
> We can currently hit two asserts. Let's fix those.
>
> Patch nr. 1 is a result from:
> "[PATCH v4 00/14] MemoryDevice: use multi stage hotplug handlers"
>
> We treat right now any alignment > 1GB as a violation, as it would
> fragment guest memory heavily. Turn the assert into a check.
>
> Also, we run into an assert when using alignments that are not a power of
> two.
Queued, thanks.
Paolo