[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] exec: Move hw_error() to the CPU namespace
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC PATCH] exec: Move hw_error() to the CPU namespace |
Date: |
Sat, 23 Jun 2018 17:03:55 +0100 |
On 22 June 2018 at 20:09, Thomas Huth <address@hidden> wrote:
> ... but I really wonder why this function got so popular in the hw/
> folder. Printing a dump of all CPU states does not make much sense in
> most of the cases (which are really not directly related to CPU states).
> So yes, we should try to slowly get rid of hw_error() these days!
Maybe the idea was that if your guest accesses a bogus register
and QEMU falls over, a guest CPU register dump might help
in figuring out where in the guest that happened.
thanks
-- PMM