Skip to contentSkip to conversation

xen_blk driver

DISCUSSION H�vard Bjerke 2 participants 2 messages May 3, 2005

lore
Share & tools
lore
#0 lore raw

I have some trouble understanding the interface between the blkfront and blkback drivers. When a dom1 is created, after xlblk_init() is called, the wait_for_blkif() routine waits for a connection of some kind until it times out with a "xen_blk: Timeout connecting to device!". Is this a connection from Xend, Xen or dom0 it's waiting for? How is this connection timed to occur exactly when wait_for_blkif() is looping?

H�vard

#1 lore raw

The blkfront code sends xend a "driver status up" message in wait_for_blkif. Xend uses this as a stimulus to notify the blkfront code about available block devices.

Quoted 9 lines · H?ard Bjerke

I have some trouble understanding the interface between the blkfront and blkback drivers. When a dom1 is created, after xlblk_init() is called, the wait_for_blkif() routine waits for a connection of some kind until it times out with a "xen_blk: Timeout connecting to device!". Is this a connection from Xend, Xen or dom0 it's waiting for? How is this connection timed to occur exactly when wait_for_blkif() is looping?

Hvard

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel