diff mbox

[RFC,v6,0/2] monitor: add memory search commands s, sp

Message ID CANv_3Ybc6Qme2YwKjHBwmshEyqpAejUDBjKp7kUjvtHScCOsAg@mail.gmail.com
State New
Headers show

Commit Message

Claudio Fontana June 12, 2015, 1:31 p.m. UTC
Hello Markus,

the merge conflict resolution is the following:

-----

             break;

-----

You can also fetch this from the following repo and branch:

https://github.com/hw-claudio/qemu-aarch64-queue "memsearch_merge_conflict"

Or do you want me to respin based on an uncommited state of master +
"remove ENV_GET_CPU" series?

Thanks,

Claudio


On 12 June 2015 at 14:57, Markus Armbruster <armbru@redhat.com> wrote:
> Claudio Fontana <claudio.fontana@huawei.com> writes:
>
>> On 12.06.2015 08:21, Markus Armbruster wrote:
>>> This series is marked RFC.  Is it intended for merging anyway?
>>>
>>> Semantic conflict with
>>> [PATCH v2 0/2] monitor+disas: Remove uses of ENV_GET_CPU
>>> needs to be resolved:
>>
>> Hello Markus,
>>
>> the two series conflict, but the resolution is quite simple.
>> I would suggest applying the "Remove uses of ENV_GET_CPU" stuff first,
>> and then fixing up my patch, I can do it for you if you need.
>
> Please do, and make sure to drop the RFC on your respin if you want it
> merged.

Comments

Eric Blake June 12, 2015, 10:31 p.m. UTC | #1
On 06/12/2015 07:31 AM, Claudio Fontana wrote:
> Hello Markus,
> 
> the merge conflict resolution is the following:
> 

> 
> Or do you want me to respin based on an uncommited state of master +
> "remove ENV_GET_CPU" series?

Probably easiest to just post a v7 with RFC dropped and all resolution
performed.
diff mbox

Patch

diff --git a/monitor.c b/monitor.c
index 4a5ac4e..fc6e15b 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1219,7 +1219,7 @@  static void memory_search(Monitor *mon, int
count, int format, int wsize,
         }
         if (is_physical) {
             cpu_physical_memory_read(addr, hay, l);
-        } else if (cpu_memory_rw_debug(ENV_GET_CPU(mon_get_cpu()), addr,
+        } else if (cpu_memory_rw_debug(mon_get_cpu(), addr,
                                        (uint8_t *)hay, l, 0) < 0) {
             monitor_printf(mon, " Cannot access memory\n");