Re: [Qemu-devel] [PATCH v2 7/7] hw/net/stellaris_enet: Convert to vmstate

2014-04-28 Thread Michael S. Tsirkin
On Tue, Apr 01, 2014 at 11:14:55PM +0100, Peter Maydell wrote: > Convert this device to use vmstate for its save/load, including > providing a post_load function that sanitizes inbound data to > avoid possible buffer overflows if it is malicious. > > Signed-off-by: Peter Maydell Might be a good

Re: [Qemu-devel] [PATCH v2 7/7] hw/net/stellaris_enet: Convert to vmstate

2014-04-02 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > Convert this device to use vmstate for its save/load, including > providing a post_load function that sanitizes inbound data to > avoid possible buffer overflows if it is malicious. > > Signed-off-by: Peter Maydell > --- > hw/net/stellaris_enet

[Qemu-devel] [PATCH v2 7/7] hw/net/stellaris_enet: Convert to vmstate

2014-04-01 Thread Peter Maydell
Convert this device to use vmstate for its save/load, including providing a post_load function that sanitizes inbound data to avoid possible buffer overflows if it is malicious. Signed-off-by: Peter Maydell --- hw/net/stellaris_enet.c | 147 ++-- 1 fil