Message ID | 20230405160454.97436-2-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | accel/kvm: Spring cleaning | expand |
Philippe Mathieu-Daudé <philmd@linaro.org> writes: > All types used are forward-declared in "qemu/typedefs.h". > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
On 4/5/23 09:04, Philippe Mathieu-Daudé wrote: > All types used are forward-declared in "qemu/typedefs.h". > > Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> > --- > include/sysemu/kvm.h | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On 5/4/23 18:04, Philippe Mathieu-Daudé wrote: > All types used are forward-declared in "qemu/typedefs.h". > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > include/sysemu/kvm.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h > index cc6c678ed8..7902acdfd9 100644 > --- a/include/sysemu/kvm.h > +++ b/include/sysemu/kvm.h > @@ -16,9 +16,6 @@ > #ifndef QEMU_KVM_H > #define QEMU_KVM_H > > -#include "qemu/queue.h" > -#include "hw/core/cpu.h" > -#include "exec/memattrs.h" Oops this is incorrect... MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct kvm_run *run); MemTxAttrs is not: - forward-declared - used as pointer Since this is now merged as commit 1e05888ab5 I'll send a fix. > #include "qemu/accel.h" > #include "qom/object.h" >
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index cc6c678ed8..7902acdfd9 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -16,9 +16,6 @@ #ifndef QEMU_KVM_H #define QEMU_KVM_H -#include "qemu/queue.h" -#include "hw/core/cpu.h" -#include "exec/memattrs.h" #include "qemu/accel.h" #include "qom/object.h"
All types used are forward-declared in "qemu/typedefs.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- include/sysemu/kvm.h | 3 --- 1 file changed, 3 deletions(-)