qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 1/3] linux-user: Add support for statx() sysc


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH v3 1/3] linux-user: Add support for statx() syscall
Date: Tue, 30 Oct 2018 15:26:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Le 30/10/2018 à 13:55, Aleksandar Markovic a écrit :
> From: Aleksandar Rikalo <address@hidden>
> 
> Implement support for translation of system call statx(). The
> implementation includes invoking other (more mature) syscalls
> (from the same 'stat' family) on the host side. This way,
> problems of availability of statx() on the host side are
> avoided.
> 
> On some systems with __NR_statx defined, there are some difficulties
> defining variables using "struct statx", so definitions with "struct
> target_statx" is used, and this works in all cases.

Could you give more details?

This is not consistent to use the target_struct type with the host
variable, even if the struct is the same on host and target.

The size of the field can be the same, but the alignment can differ
according to the system ABI.

Thanks,
Laurent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]