WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [VTD] [PATCH 2/2] Interrupt remapping

Hi, Weidong

>This patch implements interrupt remapping for MSI/MSI-x.
>
>Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
I got the following error at compiling the latest cset(17761).

make[6]: Entering directory `/root/unstable/xen-unstable.hg/xen/drivers/
passthrough/vtd'
gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=
gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-
statement -DNDEBUG -nostdinc -fno-builtin -fno-common -iwithprefix 
include -Werror -Wno-pointer-arith -pipe -I/root/unstable/xen-unstable.
hg/xen/include -I/root/unstable/xen-unstable.hg/xen/include/asm-x86/mach
-generic -I/root/unstable/xen-unstable.hg/xen/include/asm-x86/mach-
default -msoft-float -fno-stack-protector -g -D__XEN__ -c intremap.c -o 
intremap.o
cc1: warnings being treated as errors
intremap.c: In function 'ioapic_rte_to_remap_entry':
intremap.c:143: error: overflow in implicit constant conversion
make[6]: *** [intremap.o] Error 1
make[6]: Leaving directory `/root/unstable/xen-unstable.hg/xen/drivers/
passthrough/vtd'
make[5]: *** [vtd/built_in.o] Error 2
make[5]: Leaving directory `/root/unstable/xen-unstable.hg/xen/drivers/
passthrough'
make[4]: *** [passthrough/built_in.o] Error 2
make[4]: Leaving directory `/root/unstable/xen-unstable.hg/xen/drivers'
make[3]: *** [/root/unstable/xen-unstable.hg/xen/drivers/built_in.o] 
Error 2
make[3]: Leaving directory `/root/unstable/xen-unstable.hg/xen/arch/x86'
make[2]: *** [/root/unstable/xen-unstable.hg/xen/xen] Error 2
make[2]: Leaving directory `/root/unstable/xen-unstable.hg/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/unstable/xen-unstable.hg/xen'
make: *** [install-xen] Error 2


Is the attached patch correct?

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

Attachment: fix_compilation.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>