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

Re: [Xen-devel] [PATCH V2 1/3] xen/vm_access: Support for memory-content hiding



>>> On 26.06.15 at 11:49, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
> Sorry, I don't follow - I did truncate the data if bytes_per_rep >
> curr->arch.vm_event.emul_read_data->size. But I'm passing reps on
> untouched to hvmemul_do_pio(). Did I misunderstand the hvmemul_do_pio()
> code? Should I pass a (*reps * bytes_per_rep) sized buffer to
> hvmemul_do_pio() when its last parameter is != NULL?

Just consider how REP OUTS works: It reads equally sized items
from successive memory locations (one per iteration, with the
memory address being incremented/decremented after each
iteration) and sends them to the designated port (again once per
iteration).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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