Re: [Qemu-discuss] icount

2014-01-10 Thread Sebastian Ottlik
Hi, the -icount feature does actually count the number of executed instructions (with a TB granularity). It is not output directly but used to simulate the system clock after being scaled by N. In theory this should allow a deterministic simulation even when interacting with hardware (e.g., u

[Qemu-discuss] Overload system function through LD_PRELOAD / Stracing a program in a virtual machine

2014-01-10 Thread Alexandre LAURENT
Hello everyone, I have a library overloading system functions (like connect/open ...) that I am loading with qemu using LD_PRELOAD : LD_PRELOAD=./mylibofoverload.so qemu $qemu_params Would my overloads be used in the program runned in the virtual machine ? The second part of the question, wh

Re: [Qemu-discuss] Overload system function through LD_PRELOAD / Stracing a program in a virtual machine

2014-01-10 Thread Jakob Bohm
On 1/10/2014 4:39 PM, Alexandre LAURENT wrote: Hello everyone, I have a library overloading system functions (like connect/open ...) that I am loading with qemu using LD_PRELOAD : LD_PRELOAD=./mylibofoverload.so qemu $qemu_params Would my overloads be used in the program runned in the vir

Re: [Qemu-discuss] icount

2014-01-10 Thread Hendrik Greving
Thanks! On Fri, Jan 10, 2014 at 1:17 AM, Sebastian Ottlik wrote: > Hi, > > the -icount feature does actually count the number of executed > instructions (with a TB granularity). It is not output directly but used to > simulate the system clock after being scaled by N. In theory this should > al

Re: [Qemu-discuss] icount

2014-01-10 Thread Hendrik Greving
That's kind of what I thought. - Hendrik On Fri, Jan 10, 2014 at 12:14 PM, Hendrik Greving < hendrik.greving@gmail.com> wrote: > Thanks! > > > On Fri, Jan 10, 2014 at 1:17 AM, Sebastian Ottlik wrote: > >> Hi, >> >> the -icount feature does actually count the number of executed >> instructio

[Qemu-discuss] Simulating IO errors

2014-01-10 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to have qemu simulate disk IO errors? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS0F+NAAoJEI5FoCIzSKrwd7sH/0dYXsN9I0oYbaxYJW4eHBA0 2j57G