qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 1.2] w32: Fix broken build
@ 2012-08-30 20:28 Stefan Weil
  2012-08-30 21:37 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-08-30 20:28 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-trivial, Stefan Weil, qemu-devel

Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include
file which is not available for MinGW compilations.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 target-i386/cpu.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index f3cac49..423e009 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -33,7 +33,9 @@
 #include "hyperv.h"
 
 #include "hw/hw.h"
+#if defined(CONFIG_KVM)
 #include <linux/kvm_para.h>
+#endif
 
 /* feature flags taken from "Intel Processor Identification and the CPUID
  * Instruction" and AMD's "CPUID Specification".  In cases of disagreement
-- 
1.7.10

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

* Re: [Qemu-devel] [PATCH for 1.2] w32: Fix broken build
  2012-08-30 20:28 [Qemu-devel] [PATCH for 1.2] w32: Fix broken build Stefan Weil
@ 2012-08-30 21:37 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2012-08-30 21:37 UTC (permalink / raw)
  To: Stefan Weil; +Cc: qemu-trivial, qemu-devel

Stefan Weil <sw@weilnetz.de> writes:

> Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include
> file which is not available for MinGW compilations.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>  target-i386/cpu.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index f3cac49..423e009 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -33,7 +33,9 @@
>  #include "hyperv.h"
>  
>  #include "hw/hw.h"
> +#if defined(CONFIG_KVM)
>  #include <linux/kvm_para.h>
> +#endif
>  
>  /* feature flags taken from "Intel Processor Identification and the CPUID
>   * Instruction" and AMD's "CPUID Specification".  In cases of disagreement
> -- 
> 1.7.10

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

end of thread, other threads:[~2012-08-30 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 20:28 [Qemu-devel] [PATCH for 1.2] w32: Fix broken build Stefan Weil
2012-08-30 21:37 ` Anthony Liguori

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).