qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] emulation details of qemu


From: Alex Bennée
Subject: Re: [Qemu-devel] emulation details of qemu
Date: Thu, 28 Apr 2016 19:45:59 +0100
User-agent: mu4e 0.9.17; emacs 25.0.93.1

tutu sky <address@hidden> writes:

> Thanks a lot Stefan,
> But if i want to change the content of a register during run time in
> debug mode, what should i do? is it possible at first?

Using the gdbstub sure you can change the register values when the
machine is halted.

>
> Regards.
> ________________________________________
> From: Stefan Hajnoczi <address@hidden>
> Sent: Tuesday, April 26, 2016 9:31 AM
> To: tutu sky
> Cc: address@hidden
> Subject: Re: [Qemu-devel] emulation details of qemu
>
> On Sat, Apr 23, 2016 at 06:36:39AM +0000, tutu sky wrote:
>> I want to know that is it possible to access registers or 
>> micro-architectural part of a core/cpu in qemu during run time?
>
> Yes.  How and to what extent depends on whether you are using TCG, KVM,
> or TCI.  QEMU also has gdbstub support so you can single-step execution
> and access CPU registers.
>
> Stefan


--
Alex Bennée



reply via email to

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