RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2018 Volume 30, Issue 5, Pages 101–108 (Mi tisp363)

Tracing ext3 file system operations in the QEMU emulator

V. M. Stepanov, P. M. Dovgalyuk, D. N. Poletaev

Yaroslav-the-Wise Novgorod State University

Abstract: The paper proposes an approach to monitoring file operations through capturing virtual disk accesses in the emulator. This method allows obtaining information about file operations in the OS-agnostic manner but requires a separate implementation for each file system. An important problem for implementing this approach is the correct handling of changes in the file system. Operating systems that cache write requests can perform operations in any order. The authors have created a method for detecting read, write, create, delete and rename operations, and a module for QEMU, which monitors operations in the ext3 file system. The advantage of this method over others is that it does not interfere with the operation of the OS and does not depend on it. It is assumed that the QEMU module for file systems other than ext2/3 can be implemented using the methods described in this article.

Keywords: virtual machines, file systems, monitoring, introspection, QEMU.

Language: English

DOI: 10.15514/ISPRAS-2018-30(5)-6



© Steklov Math. Inst. of RAS, 2024