[Lguest] [patch] u32 pointer nightmare .....

Jes Sorensen jes at sgi.com
Thu Sep 13 22:00:50 EST 2007


Rusty Russell wrote:
> Well, the alternative is to fix "struct lguest_dma" in lguest_launcher.h
> to use an unsigned long:
> 
> struct lguest_dma
> {
> 	/* 0 if free to be used, filled by the Host. */
>  	u32 used_len;
> 	unsigned long addr[LGUEST_MAX_DMA_SECTIONS];
> 	u16 len[LGUEST_MAX_DMA_SECTIONS];
> };

Makes sense, I think it would be good to do so - btw. why are the DMA
sections only 16 bit lengths?

Do you want me to do a patch for this or will you take it in with the
other one you are currently disecting?

Cheers,
Jes





More information about the Lguest mailing list