qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds
@ 2011-06-23  0:41 Roy Tam
  2011-06-24 20:59 ` Jonathan A. Kollasch
  0 siblings, 1 reply; 3+ messages in thread
From: Roy Tam @ 2011-06-23  0:41 UTC (permalink / raw)
  To: qemu-devel

The pulls makes KVM enabled by default, which is not available in
MinGW(Win32) environment. Even through I put --disable-kvm switch in
./configure, I still can't get QEMU compiled:

(...)
  CC    i386-softmmu/pc_piix.o
  CC    i386-softmmu/kvmclock.o
In file included from C:/msys/home/User/qemu/hw/kvmclock.c:20:
../linux-headers/linux/kvm.h:10:25: warning: linux/types.h: No such
file or directory
../linux-headers/linux/kvm.h:12:25: warning: linux/ioctl.h: No such
file or directory
In file included from ../linux-headers/linux/kvm.h:13,
                 from C:/msys/home/User/qemu/hw/kvmclock.c:20:
../linux-headers/asm/kvm.h:32: error: syntax error before "__u32"
../linux-headers/asm/kvm.h:32: warning: no semicolon at end of struct or union
(...)
../linux-headers/linux/kvm.h:140: error: previous declaration of 'pad' was here
../linux-headers/asm/kvm_para.h:74: warning: data definition has no
type or storage class
../linux-headers/asm/kvm_para.h:75: error: syntax error before "enabled"
../linux-headers/asm/kvm_para.h:75: warning: type defaults to `int' in
declaration of `enabled'
../linux-headers/asm/kvm_para.h:75: warning: data definition has no
type or storage class
C:/msys/home/User/qemu/hw/kvmclock.c: In function `kvmclock_pre_save':
C:/msys/home/User/qemu/hw/kvmclock.c:32: error: storage size of 'data'
isn't known
C:/msys/home/User/qemu/hw/kvmclock.c:38: error: invalid application of
`sizeof' to incomplete type `kvm_clock_data'
C:/msys/home/User/qemu/hw/kvmclock.c:32: warning: unused variable `data'
C:/msys/home/User/qemu/hw/kvmclock.c: In function `kvmclock_post_load':
C:/msys/home/User/qemu/hw/kvmclock.c:55: error: storage size of 'data'
isn't known
C:/msys/home/User/qemu/hw/kvmclock.c:59: error: invalid application of
`sizeof' to incomplete type `kvm_clock_data'
C:/msys/home/User/qemu/hw/kvmclock.c:55: warning: unused variable `data'
C:/msys/home/User/qemu/hw/kvmclock.c: At top level:
../linux-headers/asm/kvm.h:320: error: storage size of `xcrs' isn't known
../linux-headers/linux/kvm.h:78: error: storage size of `breakpoints'
isn't known
../linux-headers/linux/kvm.h:383: error: storage size of `arch' isn't known

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

* Re: [Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds
  2011-06-23  0:41 [Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds Roy Tam
@ 2011-06-24 20:59 ` Jonathan A. Kollasch
  2011-06-25  7:27   ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan A. Kollasch @ 2011-06-24 20:59 UTC (permalink / raw)
  To: Roy Tam; +Cc: qemu-devel

On Thu, Jun 23, 2011 at 08:41:15AM +0800, Roy Tam wrote:
> The pulls makes KVM enabled by default, which is not available in
> MinGW(Win32) environment. Even through I put --disable-kvm switch in
> ./configure, I still can't get QEMU compiled:
> 

Similar issues on NetBSD.

	Jonathan Kollasch

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

* Re: [Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds
  2011-06-24 20:59 ` Jonathan A. Kollasch
@ 2011-06-25  7:27   ` Stefan Hajnoczi
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2011-06-25  7:27 UTC (permalink / raw)
  To: Jonathan A. Kollasch; +Cc: qemu-devel, Roy Tam

On Fri, Jun 24, 2011 at 9:59 PM, Jonathan A. Kollasch
<jakllsch@kollasch.net> wrote:
> On Thu, Jun 23, 2011 at 08:41:15AM +0800, Roy Tam wrote:
>> The pulls makes KVM enabled by default, which is not available in
>> MinGW(Win32) environment. Even through I put --disable-kvm switch in
>> ./configure, I still can't get QEMU compiled:
>>
>
> Similar issues on NetBSD.

Please try Jan Kiszka's patch:

http://patchwork.ozlabs.org/patch/101598/

Stefan

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

end of thread, other threads:[~2011-06-25  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23  0:41 [Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds Roy Tam
2011-06-24 20:59 ` Jonathan A. Kollasch
2011-06-25  7:27   ` Stefan Hajnoczi

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