Re: [PATCH 1/5] linux-user: Refactor do_fork to use new `qemu_clone`

2020-06-16 Thread Alex Bennée
Josh Kunz writes: > This is pre-work for adding full support for the `CLONE_VM` `clone` > flag. In a follow-up patch, we'll add support to `clone.c` for > `clone_vm`-type clones beyond threads. CLONE_VM support is more > complicated, so first we're splitting existing clone mechanisms > (pthread

[PATCH 1/5] linux-user: Refactor do_fork to use new `qemu_clone`

2020-06-11 Thread Josh Kunz
This is pre-work for adding full support for the `CLONE_VM` `clone` flag. In a follow-up patch, we'll add support to `clone.c` for `clone_vm`-type clones beyond threads. CLONE_VM support is more complicated, so first we're splitting existing clone mechanisms (pthread_create, and fork) into a separa