qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1652373] [NEW] User-mode QEMU is not deterministic


From: Lluís Vilanova
Subject: [Qemu-devel] [Bug 1652373] [NEW] User-mode QEMU is not deterministic
Date: Fri, 23 Dec 2016 19:12:37 -0000

Public bug reported:

QEMU in user-mode (linux-user or bsd-user) has no way to get the
equivalent of the "-icount" argument found in softmmu mode.

It is true that some system calls in user-mode can prevent deterministic
execution, but it would be very simple to patch time-related syscalls to
return a number based on icount when in deterministic mode.

Putting both changes together (icount + time-related syscalls) would
cover the needs for deterministic execution of most benchmarks (i.e.,
those not interacting with the network or other programs in the system).

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1652373

Title:
  User-mode QEMU is not deterministic

Status in QEMU:
  New

Bug description:
  QEMU in user-mode (linux-user or bsd-user) has no way to get the
  equivalent of the "-icount" argument found in softmmu mode.

  It is true that some system calls in user-mode can prevent
  deterministic execution, but it would be very simple to patch time-
  related syscalls to return a number based on icount when in
  deterministic mode.

  Putting both changes together (icount + time-related syscalls) would
  cover the needs for deterministic execution of most benchmarks (i.e.,
  those not interacting with the network or other programs in the
  system).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1652373/+subscriptions



reply via email to

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