Displaying 2 results from an estimated 2 matches for "blkif_map".
2007 Jun 07
4
blkif_map error starting fourth guest domain
...syncing: Attempted to kill init!
My investigations suggest that this is due to the following in dom0''s
kernel log:
Jun 7 15:37:18 dell2950g kernel: vbd vbd-4-2057: 1 mapping ring-ref 8
port 6
This is printed by connect_ring() in drivers/xen/blkback/xenbus.c, as a
result of the call to blkif_map() failing.
The reason for blkif_map() failing seems to be the map_frontend_page()
call failing.
xm dmesg prints out:
(XEN) mm.c:2610:d0 Could not find L1 PTE for address e1204000
which seems likely to be connected to map_frontend_page() failing.
I suspect it has something to do with going above...
2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...r_sect;
wait_queue_head_t waiting_to_free;
-
- grant_handle_t shmem_handle;
- grant_ref_t shmem_ref;
} blkif_t;
struct backend_info
@@ -111,7 +103,7 @@ struct backend_info
blkif_t *blkif_alloc(domid_t domid);
void blkif_disconnect(blkif_t *blkif);
void blkif_free(blkif_t *blkif);
-int blkif_map(blkif_t *blkif, unsigned long shared_page, unsigned int evtchn);
+int blkif_map(blkif_t *blkif, grant_ref_t, evtchn_port_t);
void vbd_resize(blkif_t *blkif);
#define blkif_get(_b) (atomic_inc(&(_b)->refcnt))
--- a/drivers/xen/blkback/interface.c
+++ b/drivers/xen/blkback/interface.c
@@ -...