qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] vl: pass CPUState to qemu_system_guest_pani


From: Anton Nefedov
Subject: Re: [Qemu-devel] [PATCH 3/3] vl: pass CPUState to qemu_system_guest_panicked
Date: Wed, 22 Feb 2017 12:17:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

hi,

On 02/21/2017 01:42 PM, Paolo Bonzini wrote:
qemu_system_guest_panicked was already using current_cpu implicitly,
so it makes sense for it to receive a CPUState.  This lets the
function call cpu_get_crash_info and free the result.


my motivation against this was that as qemu_system_guest_panicked() is also used by pvpanic device, if it's ever going to pass any information, GuestPanicInformation struct could be reused.
Though I guess it doesnt matter much now

/Anton



reply via email to

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