Skip to contentSkip to conversation

hw/arm/xen-pvh: Remove unnecessary 'hw/xen/arch_hvm.h' header

PATCH Applied Philippe Mathieu-Daudé 3 participants 4 messages Jul 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hw/arm/xen-pvh: Remove unnecessary 'hw/xen/arch_hvm.h' header

"hw/xen/arch_hvm.h" only declares the arch_handle_ioreq() and arch_xen_set_memory() prototypes, which are not used by xen-pvh.c. Remove the unnecessary header inclusion.

---
Based-on: <[email protected]>

---
 hw/arm/xen-pvh.c | 1 -
 1 file changed, 1 deletion(-)
hw/arm/xen-pvh.c +0 -1
index 4b26bcff7a5..1a9eeb01c8e 100644
@@ -10,7 +10,6 @@
 #include "hw/boards.h"
 #include "system/system.h"
 #include "hw/xen/xen-pvh-common.h"
-#include "hw/xen/arch_hvm.h"
 
 #define TYPE_XEN_ARM  MACHINE_TYPE_NAME("xenpvh")
 
Signature · 1 line
2.49.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé

"hw/xen/arch_hvm.h" only declares the arch_handle_ioreq() and arch_xen_set_memory() prototypes, which are not used by xen-pvh.c. Remove the unnecessary header inclusion.

Quoted 18 lines

---
Based-on: <[email protected]>

---
  hw/arm/xen-pvh.c | 1 -
  1 file changed, 1 deletion(-)
hw/arm/xen-pvh.c +0 -1
index 4b26bcff7a5..1a9eeb01c8e 100644
@@ -10,7 +10,6 @@
  #include "hw/boards.h"
  #include "system/system.h"
  #include "hw/xen/xen-pvh-common.h"
-#include "hw/xen/arch_hvm.h"
 
  #define TYPE_XEN_ARM  MACHINE_TYPE_NAME("xenpvh")
 
Reviewed-by on v2 1/1
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 26 lines · Philippe Mathieu-Daudé

"hw/xen/arch_hvm.h" only declares the arch_handle_ioreq() and arch_xen_set_memory() prototypes, which are not used by xen-pvh.c. Remove the unnecessary header inclusion.

---
Based-on: <[email protected]>

---
 hw/arm/xen-pvh.c | 1 -
 1 file changed, 1 deletion(-)
hw/arm/xen-pvh.c +0 -2
index 4b26bcff7a5..1a9eeb01c8e 100644
@@ -10,7 +10,6 @@
 #include "hw/boards.h"
 #include "system/system.h"
 #include "hw/xen/xen-pvh-common.h"
-#include "hw/xen/arch_hvm.h"
 
 #define TYPE_XEN_ARM  MACHINE_TYPE_NAME("xenpvh")
 
--
Quoted 3 lines

2.49.0

#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé

"hw/xen/arch_hvm.h" only declares the arch_handle_ioreq() and arch_xen_set_memory() prototypes, which are not used by xen-pvh.c. Remove the unnecessary header inclusion.

---
Based-on: <[email protected]>

---
  hw/arm/xen-pvh.c | 1 -
  1 file changed, 1 deletion(-)

Queued, thanks.