[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi Akio,

Thank you for finding this issue. I worked out a patch based on yours.

Randy (Weidong)

Akio Takebe wrote:
> 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-intremap.patch
Description: fix-intremap.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.