Re: [PATCH v2 7/9] linux-user: Split linux-user internals out of qemu.h

2021-09-12 Thread Richard Henderson
On 9/8/21 8:44 AM, Peter Maydell wrote: qemu.h is included in various non-linux-user files (which mostly want the TaskState struct and the functions for doing usermode access to guest addresses like lock_user(), unlock_user(), get_user*(), etc). Split out the parts that are only used in linux-us

[PATCH v2 7/9] linux-user: Split linux-user internals out of qemu.h

2021-09-08 Thread Peter Maydell
qemu.h is included in various non-linux-user files (which mostly want the TaskState struct and the functions for doing usermode access to guest addresses like lock_user(), unlock_user(), get_user*(), etc). Split out the parts that are only used in linux-user itself into a new user-internals.h. Thi