qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 08/10] hw/misc/vmcoreinfo: Implement 'vmcore-info' object


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH 08/10] hw/misc/vmcoreinfo: Implement 'vmcore-info' object
Date: Fri, 20 Dec 2024 11:53:49 +0100
User-agent: Mozilla Thunderbird

On 20/12/24 09:50, Marc-André Lureau wrote:
Hi

On Thu, Dec 19, 2024 at 7:39 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:

'vmcore-info' object allow to transition from '-device'
to 'object', following the deprecation process.


Is there a strong motivation behind this? just replacing -device with
-object doesn't really give anything, does it?

No. (Daniel mentioned the same on the cover letter:
2ae4799b-f78d-4fde-becb-9ee7f767e8f1@linaro.org/">https://lore.kernel.org/qemu-devel/2ae4799b-f78d-4fde-becb-9ee7f767e8f1@linaro.org/)

Sorry for wasting review cycles.

Also I'd rather keep the name "vmcoreinfo" since that's how it used to
be, and also the name used by the kernel ELF etc.

No need to modify VMCoreInfoState since DeviceState
already inherits from Object state.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  include/hw/misc/vmcoreinfo.h |  4 ++-
  hw/misc/vmcoreinfo.c         | 48 +++++++++++++++++++++++++++++++++++-
  2 files changed, 50 insertions(+), 2 deletions(-)




reply via email to

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