qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] target-s390x: Fix build for non-linux hosts
@ 2011-05-24 17:42 Stefan Weil
  2011-05-24 17:55 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2011-05-24 17:42 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Alexander Graf

linux/kvm.h is not always available for compilation.

Neither linux/kvm.h nor kvm.h are needed, so remove both
which also fixes the build problem for non-linux hosts.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 target-s390x/helper.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index c79af46..745d8c5 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -28,11 +28,6 @@
 #include "qemu-common.h"
 #include "qemu-timer.h"
 
-#if !defined(CONFIG_USER_ONLY)
-#include <linux/kvm.h>
-#include "kvm.h"
-#endif
-
 //#define DEBUG_S390
 //#define DEBUG_S390_PTE
 //#define DEBUG_S390_STDOUT
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] target-s390x: Fix build for non-linux hosts
  2011-05-24 17:42 [Qemu-devel] [PATCH] target-s390x: Fix build for non-linux hosts Stefan Weil
@ 2011-05-24 17:55 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2011-05-24 17:55 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers


On 24.05.2011, at 19:42, Stefan Weil wrote:

> linux/kvm.h is not always available for compilation.
> 
> Neither linux/kvm.h nor kvm.h are needed, so remove both
> which also fixes the build problem for non-linux hosts.
> 
> Cc: Alexander Graf <agraf@suse.de>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Thanks :). Applied to the s390-next tree.


Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-24 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 17:42 [Qemu-devel] [PATCH] target-s390x: Fix build for non-linux hosts Stefan Weil
2011-05-24 17:55 ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).