Re: [Qemu-devel] [RFC PATCH v2 0/8] VMS_ARRAY_OF_POINTER with null pointers

2016-12-15 Thread Dr. David Alan Gilbert
* Halil Pasic (pa...@linux.vnet.ibm.com) wrote: > Make VMS_ARRAY_OF_POINTER cope with null pointers. Currently the reward > for trying to migrate an array with some null pointers in it is an > illegal memory access, that is a swift and painless death of the > process. Let's make vmstate cope with t

[Qemu-devel] [RFC PATCH v2 0/8] VMS_ARRAY_OF_POINTER with null pointers

2016-11-08 Thread Halil Pasic
Make VMS_ARRAY_OF_POINTER cope with null pointers. Currently the reward for trying to migrate an array with some null pointers in it is an illegal memory access, that is a swift and painless death of the process. Let's make vmstate cope with this scenario at least for pointers to structs. We need