[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] hw/misc/pvpanic: Use standard headers instead
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
Re: [PATCH 2/2] hw/misc/pvpanic: Use standard headers instead |
|
Date: |
Mon, 21 Feb 2022 14:32:31 +0100 |
|
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 |
On 21/2/22 13:27, zhenwei pi wrote:
QEMU side has already imported pvpanic.h from linux, remove bit
definitions from include/hw/misc/pvpanic.h, and use
include/standard-headers/linux/pvpanic.h instead.
Also minor changes for PVPANIC_CRASHLOADED -> PVPANIC_CRASH_LOADED.
It seems to fail to build, missing PVPANIC_CRASH_LOADED. On which
tree is this patch based?
Do we need to run scripts/update-linux-headers.sh before?
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
---
hw/misc/pvpanic-isa.c | 4 +++-
hw/misc/pvpanic-pci.c | 4 +++-
hw/misc/pvpanic.c | 5 +++--
include/hw/misc/pvpanic.h | 8 --------
4 files changed, 9 insertions(+), 12 deletions(-)