On 9 February 2012 22:37, Anthony Liguori <[email protected]> wrote:
> I don't know if I mentioned this, but do we really need variable sizes?
>
> Can we just use a fixed size (pre-allocated) array and then use a
> VMSTATE_SUB_ARRAY?
>
> If it's truly variable size with no upper bound, then that's actually a
> security problem since it implies a guest can do unbounded memory
> allocation.

The array in question is a property of the number of sectors on
the sd card, so it's only unbounded in the same sense that you
could pass an enormous disk image to qemu...

-- PMM
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to