From: zhefu jiang Subject: A problem about hvm io routine Date: Tue, 27 Oct 2009 22:05:27 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0924651445==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0924651445== Content-Type: multipart/alternative; boundary=001636b2ac6a9e81c20476eb2b2d --001636b2ac6a9e81c20476eb2b2d Content-Type: text/plain; charset=ISO-8859-1 hi everyone, I have a problem about Xen HVM IO routine: I have read some code and notice that qemu-dm handle HVM DOMU's io request in function cpu_handle_ioreq(). But I cannot find which function send these io requests. I suspect the hvm_send_assist_req() and hvm_buffered_io_send() do this job, yet when I print io request address in these functions and in function qemu_remap_bucket(I have set cache size to one page), I find that this two function covers only part of all requests. Now I'm wondering which function is sending the rest io requests. Zhefu Jiang --001636b2ac6a9e81c20476eb2b2d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 PGRpdj5oaSBldmVyeW9uZSwgSSBoYXZloGEgcHJvYmxlbSBhYm91dCBYZW4gSFZNoElPIHJvdXRp bmU6IEkgaGF2ZSByZWFkIHNvbWUgY29kZSBhbmQgbm90aWNlIHRoYXQgcWVtdS1kbaBoYW5kbGUg SFZNIERPTVUmIzM5O3MgaW8gcmVxdWVzdCBpbiBmdW5jdGlvbiBjcHVfaGFuZGxlX2lvcmVxKCku IEJ1dCBJIGNhbm5vdCBmaW5kIHdoaWNoIGZ1bmN0aW9uIHNlbmQgdGhlc2UgaW8gcmVxdWVzdHMu IEkgc3VzcGVjdCB0aGUgaHZtX3NlbmRfYXNzaXN0X3JlcSgpIGFuZCBodm1fYnVmZmVyZWRfaW9f c2VuZCgpIGRvIHRoaXMgam9iLCB5ZXQgd2hlbiBJIHByaW50IGlvIHJlcXVlc3QgYWRkcmVzcyBp biB0aGVzZSBmdW5jdGlvbnMgYW5kIGluIGZ1bmN0aW9uIHFlbXVfcmVtYXBfYnVja2V0KEkgaGF2 ZSBzZXQgY2FjaGUgc2l6ZSB0byBvbmUgcGFnZSksIEkgZmluZCB0aGF0IHRoaXMgdHdvIGZ1bmN0 aW9uIGNvdmVycyBvbmx5IHBhcnQgb2YgYWxsIHJlcXVlc3RzLiBOb3cgSSYjMzk7bSB3b25kZXJp bmcgd2hpY2ggZnVuY3Rpb24gaXMgc2VuZGluZyB0aGUgcmVzdCBpbyByZXF1ZXN0cy4gPC9kaXY+ Cgo8ZGl2PqA8L2Rpdj4KPGRpdj6gPC9kaXY+CjxkaXY+oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgoKCgIFpoZWZ1IEppYW5nPC9kaXY+Cgo8ZGl2PqA8L2Rpdj4K --001636b2ac6a9e81c20476eb2b2d-- --===============0924651445== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0924651445==--