Re: [Xen-devel] Why gpa instead of mfn is directed used in emulated nic

2015-03-06 Thread Tim Deegan
At 10:14 +0800 on 06 Mar (1425633255), openlui wrote: > At 2015-03-05 19:09:41, "Tim Deegan" wrote: > >Hi, > > > >At 10:54 +0800 on 05 Mar (1425549262), openlui wrote: > >> 2. From the trace info and qemu-dm's log, it seems that it is "GPA" > >> (Guest Physical Address) instead of "MFN" in the IOR

Re: [Xen-devel] Why gpa instead of mfn is directed used in emulated nic

2015-03-05 Thread openlui
At 2015-03-05 19:09:41, "Tim Deegan" wrote: >Hi, > >At 10:54 +0800 on 05 Mar (1425549262), openlui wrote: >> 2. From the trace info and qemu-dm's log, it seems that it is "GPA" >> (Guest Physical Address) instead of "MFN" in the IOREQ's data field >> received by qemu-dm: > >Yes. Thanks for your re

Re: [Xen-devel] Why gpa instead of mfn is directed used in emulated nic

2015-03-05 Thread Tim Deegan
Hi, At 10:54 +0800 on 05 Mar (1425549262), openlui wrote: > 2. From the trace info and qemu-dm's log, it seems that it is "GPA" > (Guest Physical Address) instead of "MFN" in the IOREQ's data field > received by qemu-dm: Yes. > I think qemu-dm/rtl8139 should read/write data from "MFN" address in

[Xen-devel] Why gpa instead of mfn is directed used in emulated nic

2015-03-04 Thread openlui
Hi, all: I want to learn how the emulated NICs work in XEN. So I boot a DomU with an emulated rtl8139 NIC, ping host from DomU and capture the trace info using xentrace tool, and then check the log of qemu-dm and trace info analyzed by xenalyze tool. I have enabled debug in rtl8139.c and added