Abstract
A technology of the deterministic replay of an execution process in virtual machines can be used for debugging, improving reliability and robustness, software development and incident investigation (including reverse engineering of malware). The paper describes an implementation of deterministic replay for guest machines based on IA-32 in the emulator QEMU. This implementation minimizes the list of replayed devices. The organization of QEMU is discussed in detail, and the techniques used in the implementation are thoroughly explained. The key performance characteristics, such as the size of log of nondeterministic events and slowdown are experimentally measured.
Similar content being viewed by others
References
QEMU Open Source Processor Emulator, http://wiki.qemu.org/Main_Page
Altekar, G. and Stoica, I., ODR: Output-Deterministic Replay for Multicore Debugging, UC Berkley, 2009.
Tikhonov, A.Yu. and Avetisyan, A.I., The Development of Taint Analysis for Detecting of Trojans, Tr. Inst. Sistemnogo Program. Ross. Akad. Nauk, 2011, vol. 20, pp. 9–24.
Colp P., Dadizadeh S., Nanavati M. Deterministic Replay for Xen, Department of Computer Science. University of British Columbia. Vancouver, BC, Canada.
Xu, M., Malyugin, V., Sheldon, J., Venkitachalam, G., and Weissman, B., Retrace: Collecting Execution Trace with Virtual Machine Deterministic Replay, Workshop on Modeling, Benchmarking and Simulation (MoBS), 2007.
Batuzov, K., Dovgalyuk, P., Koshelev, V., and Padaryan, V., Two Techniques for the Organization of the Full-System Deterministic Replay Mechanism in QEMU, Tr. Inst. Sistemnogo Program. Ross. Akad. Nauk, 2012, vol. 22, pp. 77–94.
Dovgalyuk, P., Deterministic Replay of the Process of Running a Program on a Virtual Machine, Tr. Inst. Sistemnogo Program. Ross. Akad. Nauk, 2011, vol. 21, pp. 123–132.
NBench Benchmark Port to Linux/Unix, http://www.tux.org/mayer/linux/bmark.html
Iperf—The TCP/UDP Bandwidth Measurement Tool, https://iperf.fr
Author information
Authors and Affiliations
Corresponding author
Additional information
Original Russian Text © V.Yu. Efimov, K.A. Batuzov, V.A. Padaryan, A.I. Avetisyan, 2016, published in Trudy Instituta Sistemnogo Programmirovaniya, Vol. 27, No. 2, 2015, p. 65–92
Rights and permissions
About this article
Cite this article
Efimov, V.Y., Batuzov, K.A., Padaryan, V.A. et al. Features of the deterministic replay in the case of a minimum device set. Program Comput Soft 42, 174–186 (2016). https://doi.org/10.1134/S0361768816030038
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S0361768816030038