mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
linux-user: call set/getscheduler set/getparam directly
There seems to be difference in syscall and libc definition of these methods and therefore musl does not implement them (1e21e78bf7). Call syscall directly to ensure the behavior of the libc of user application, not the libc that was used to build QEMU. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Message-Id: <20220105041819.24160-3-tonistiigi@gmail.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
45ad761c27
commit
407a119bfd
2 changed files with 28 additions and 10 deletions
|
@ -2904,4 +2904,8 @@ struct target_sched_attr {
|
|||
abi_uint sched_util_max;
|
||||
};
|
||||
|
||||
struct target_sched_param {
|
||||
abi_int sched_priority;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue