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

[Xen-devel] RE: compat tool problem with new tmem save/restore tmem_op struct



> Hi Jan --
> 
> I'm trying to implement save/restore code for tmem
> and to do so I need to pass other variants of the
> tmem_op struct between tools (dom0) and the hypervisor
> so I made the changes below to struct tmem_op.
> Unfortunately the nested union seems to break your compat
> translation tool.  Is this an easy fix for your
> tool?  If not, I suppose I can recode to only
> use a single level of union.

FYI, I've converted the code to a single level union,
but the result is questionable as the subop that
selects which structure in the union is the first
element of each structure.  This also required some
messy work in the CONFIG_COMPAT in tmh_get_tmemop_from_client,
but it compiles now and I can proceed with debugging.

Thanks,
Dan

_______________________________________________
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®.