|
From: | Scott Wood |
Subject: | Re: [Qemu-ppc] [PATCH 4/6] openpic: don't crash on a register access without a CPU context |
Date: | Fri, 14 Dec 2012 12:18:42 -0600 |
On 12/14/2012 06:35:12 AM, Alexander Graf wrote:
On 14.12.2012, at 03:12, Scott Wood wrote:> If we access a register via the QEMU memory inspection commands (e.g.> "xp") rather than from guest code, we won't have a CPU context. > Gracefully fail to access the register in that case, rather than > crashing.Can't we set cpu_single_env in the debug memory access case? I'm not sure this is the only device with that problem, and by always having cpu_single_env available we would completely get rid of the whole bug category.
Which CPU would you pick? -Scott
[Prev in Thread] | Current Thread | [Next in Thread] |