Re: [PATCH 0/5] qom: Allow object to be aligned

2020-09-15 Thread Stefan Weil
Am 16.09.20 um 00:47 schrieb Richard Henderson: > On 9/15/20 10:46 AM, Richard Henderson wrote: >> We already have a function that can alloc with alignment, >> but we need to pass this down from the structure. We also >> don't want to use this function unconditionally, because >> the windows

Re: [PATCH 0/5] qom: Allow object to be aligned

2020-09-15 Thread Richard Henderson
On 9/15/20 10:46 AM, Richard Henderson wrote: > We already have a function that can alloc with alignment, > but we need to pass this down from the structure. We also > don't want to use this function unconditionally, because > the windows version does page allocation, which would be > overkill

[PATCH 0/5] qom: Allow object to be aligned

2020-09-15 Thread Richard Henderson
I've seen some failures on arm and s390x hosts after enabling host vector support. It turns out that the malloc for these hosts does not provide 16-byte alignment. We already have a function that can alloc with alignment, but we need to pass this down from the structure. We also don't want to