Message ID | 20250307180337.14811-3-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | hw/vfio: Build various objects once | expand |
On 3/7/25 10:03, Philippe Mathieu-Daudé wrote: > <linux/kvm.h> is already include by "system/kvm.h" in the next line. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > hw/vfio/spapr.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c > index ad4c499eafe..9b5ad05bb1c 100644 > --- a/hw/vfio/spapr.c > +++ b/hw/vfio/spapr.c > @@ -11,9 +11,6 @@ > #include "qemu/osdep.h" > #include <sys/ioctl.h> > #include <linux/vfio.h> > -#ifdef CONFIG_KVM > -#include <linux/kvm.h> > -#endif > #include "system/kvm.h" > #include "exec/address-spaces.h" > Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
On 3/7/25 10:03, Philippe Mathieu-Daudé wrote: > <linux/kvm.h> is already include by "system/kvm.h" in the next line. > > Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> > --- > hw/vfio/spapr.c | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On 3/7/25 19:03, Philippe Mathieu-Daudé wrote: > <linux/kvm.h> is already include by "system/kvm.h" in the next line. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Thanks, C. > --- > hw/vfio/spapr.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c > index ad4c499eafe..9b5ad05bb1c 100644 > --- a/hw/vfio/spapr.c > +++ b/hw/vfio/spapr.c > @@ -11,9 +11,6 @@ > #include "qemu/osdep.h" > #include <sys/ioctl.h> > #include <linux/vfio.h> > -#ifdef CONFIG_KVM > -#include <linux/kvm.h> > -#endif > #include "system/kvm.h" > #include "exec/address-spaces.h" >
diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c index ad4c499eafe..9b5ad05bb1c 100644 --- a/hw/vfio/spapr.c +++ b/hw/vfio/spapr.c @@ -11,9 +11,6 @@ #include "qemu/osdep.h" #include <sys/ioctl.h> #include <linux/vfio.h> -#ifdef CONFIG_KVM -#include <linux/kvm.h> -#endif #include "system/kvm.h" #include "exec/address-spaces.h"
<linux/kvm.h> is already include by "system/kvm.h" in the next line. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/vfio/spapr.c | 3 --- 1 file changed, 3 deletions(-)