Fix iovec for the case with invalid elements (Lauro Ramos Venancio).
commitc574b46e855de8e9bbbc1d730152951b25005a6c
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:21:03 +0000 (28 10:21 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:21:03 +0000 (28 10:21 +0000)
tree3f2625598c78ebac8bace395df92be6508942cb5
parent14f2712b7f9238fcb7a022e0297d8f6b3fe6f52a
Fix iovec for the case with invalid elements (Lauro Ramos Venancio).

We must call the writev even if an iovec element is invalid. For
example, if the second element is invalid, the linux process the first
one.

git-svn-id: http://svn.savannah.gnu.org/svn/qemu/trunk@5562 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c