diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-08 19:43:51 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-09-01 13:34:03 -0700 |
| commit | 79be812bdb6d476b35b0a0a9cda5432673b1f5f3 (patch) | |
| tree | 7aa95e74a53b984bbbb0dcfe83a1b1c4c39fe34f /include/qemu/selfmap.h | |
| parent | 4757e2c771087520578d2a0fb2da5ec196899af7 (diff) | |
| download | focaccia-qemu-79be812bdb6d476b35b0a0a9cda5432673b1f5f3.tar.gz focaccia-qemu-79be812bdb6d476b35b0a0a9cda5432673b1f5f3.zip | |
util/selfmap: Use dev_t and ino_t in MapInfo
Use dev_t instead of a string, and ino_t instead of uint64_t. The latter is likely to be identical on modern systems but is more type-correct for usage. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/selfmap.h')
| -rw-r--r-- | include/qemu/selfmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/selfmap.h b/include/qemu/selfmap.h index 7d938945cb..1690a74f4b 100644 --- a/include/qemu/selfmap.h +++ b/include/qemu/selfmap.h @@ -20,10 +20,10 @@ typedef struct { bool is_exec; bool is_priv; + dev_t dev; + ino_t inode; uint64_t offset; - uint64_t inode; const char *path; - char dev[]; } MapInfo; /** |