> -Original Message-
> From: Anthony PERARD [mailto:anthony.per...@citrix.com]
> Sent: 18 June 2019 12:24
> To: qemu-devel@nongnu.org
> Cc: Anthony Perard ; Paul Durrant
> ; Stefano
> Stabellini ; xen-de...@lists.xenproject.org
> Subject: [PATCH v2 4/4] xen: Avoid VLA
>
> Avoid using a
On 6/18/19 1:23 PM, Anthony PERARD wrote:
> Avoid using a variable length array.
>
> We allocate the `dirty_bitmap' buffer only once when we start tracking
> for dirty bits.
>
Suggested-by: Paul Durrant
Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Anthony PERARD
> ---
>
> Notes:
>
Avoid using a variable length array.
We allocate the `dirty_bitmap' buffer only once when we start tracking
for dirty bits.
Signed-off-by: Anthony PERARD
---
Notes:
v2:
- Allocate the bitmap buffer only once when we start tracking dirty bits.
(instead of at every function call)