>>> On 26.06.15 at 11:49, <rcojoc...@bitdefender.com> 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@lists.xen.org http://lists.xen.org/xen-devel