Re: [Qemu-devel] address translation

2007-07-17 Thread Shashidhar Mysore
one? Thanks, -Shashi. On 7/13/07, andrzej zaborowski [EMAIL PROTECTED] wrote: On 14/07/07, Shashidhar Mysore [EMAIL PROTECTED] wrote: Thanks for the reply, Andrzej! Some clarifications below ... On 7/13/07, andrzej zaborowski [EMAIL PROTECTED] wrote

Re: [Qemu-devel] address translation

2007-07-13 Thread Shashidhar Mysore
Thanks for the reply, Andrzej! Some clarifications below ... On 7/13/07, andrzej zaborowski [EMAIL PROTECTED] wrote: /* convert one instruction. s-is_jmp is set if the translation must be stopped. Return the next pc value */ static

[Qemu-devel] address translation

2007-07-12 Thread Shashidhar Mysore
Hello group, I have two questions, both regarding the virtual-physical translation of addresses (all in the virtual machine context). 1 Can somebody tell me if the program counter value available in the following snippet from target-i386/translate.c is virtual or physical? I learnt it may be

[Qemu-devel] BUG: soft lockup detected on CPU#0!

2007-05-17 Thread Shashidhar Mysore
Hi, I want to instrument all store instructions, and for this I wrote a helper function (in helper.c) which prints out some information every time a store is executed. I call this helper function from within every store OPROTO in ops_mem.h for example: void OPPROTO glue(glue(op_stl, MEMSUFFIX),

Re: [Qemu-devel] BUG: soft lockup detected on CPU#0!

2007-05-17 Thread Shashidhar Mysore
glue(glue(op_stl, MEMSUFFIX), _T0_A0)(void) or one of its variant will be called. If you are interested in all the memory updates, then your approach is correct. If you are only interested in store instructions then your approach is not correct. Atif On 5/17/07, Shashidhar Mysore [EMAIL PROTECTED

[Qemu-devel] IO devices and softmmu

2007-05-07 Thread Shashidhar Mysore
Hi, Can somebody please help me understand how IO devices are emulated and what's the role of softmmu* files in QEMU? I am having trouble in understanding how the CPU reads data from IO devices, any help will be appreciated. Thanks, -Shashi.

Re: [Qemu-devel] Minos-type integrity checking in QEMU

2007-04-26 Thread Shashidhar Mysore
. i found it to be easier to make the changes in translate.c instead of changing every op in op.c cheers m. [0] http://www.few.vu.nl/argos/ [1] http://seclab.tuwien.ac.at/papers/tqana.pdf Am Mittwoch, den 25.04.2007, 01:16 -0700 schrieb Shashidhar Mysore: Hi, I am trying to incorporate

[Qemu-devel] Minos-type integrity checking in QEMU

2007-04-25 Thread Shashidhar Mysore
Hi, I am trying to incorporate into QEMU (x86) some structures to maintain integrity of data that flows in the processor. Specifically, I want to maintain a bit for every physical memory address and transfer the state information for every address along onto the virtual memory, and also down to

Re: [Qemu-devel] Re: Full instruction tracing

2007-04-13 Thread Shashidhar Mysore
Both the methods discussed in the past thread (which Antti pointed in the previous mail) worked well for me. -Shashi. On 4/13/07, Antti P Miettinen [EMAIL PROTECTED] wrote: Alexandros Frantzis [EMAIL PROTECTED] writes: Can someone give me some pointers on how this might be implemented in

[Qemu-devel] Accessing process ID in QEMU

2007-04-05 Thread Shashidhar Mysore
Hi, I am trying to add commands to the monitor which can enable or disable tracing in QEMU. As arguments to this command I would like to pass the process ID of the process I wish to trace. Can anybody tell me how to access the process ID from within QEMU? Basically, whenever I see an

Re: [Qemu-devel] Re: PC traces from QEMU

2007-04-02 Thread Shashidhar Mysore
it to a particular process ID? Just a clarification, does the log now have all retired PCs? Thanks, -Shashi. On 3/30/07, Stuart Brady [EMAIL PROTECTED] wrote: On Thu, Mar 29, 2007 at 06:28:14PM -0700, Shashidhar Mysore wrote: Hi Stuart, Thanks for the reply, but since I'm a little new to qemu, can you

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Shashidhar Mysore
for download from the qemu webpage, I couldn't try the same with qemu-0.7. I appreciate your help on this. Thanks, -Shashi. On 3/29/07, Antti P Miettinen [EMAIL PROTECTED] wrote: Shashidhar Mysore [EMAIL PROTECTED] writes: I intend to extract program counter streams from QEMU as a program

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Shashidhar Mysore
wrote: Shashidhar Mysore [EMAIL PROTECTED] writes: I intend to extract program counter streams from QEMU as a program executes. Can you please point me to the hooks that I may have to insert into the QEMU source code in order to extract the PC values? I used to do that with qemu 0.7. I did

[Qemu-devel] PC traces from QEMU

2007-03-26 Thread Shashidhar Mysore
Hi I intend to extract program counter streams from QEMU as a program executes. Can you please point me to the hooks that I may have to insert into the QEMU source code in order to extract the PC values? Also, since I'm new to QEMU, I'd appreciate if somebody can point me to some documents