[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Question about VBD interface



> > I'm wondering how guest domains are provided access to disks.  I suppose
> > Domain 0 has direct access to the actual hardware devices, and other
> domains
> > simply see a virtualized block device.  However, when a guest domain
> wants to
> > make a request to the disk, how does it get that request to Domain 0 and
> how
> > does Domain 0 actually receive those requests?  There appears to be a
> virtual
> > block device driver in drivers/xen/blkfront & blkback.  Is this the
> driver
> > used by the guest Domains to access the virtualized devices?
> 
> Yes. The blkback driver goes in dom0 (or any other suitably
> privileged domain) and is able to export any block device Linux
> knows about (e.g. physical partition, LVM volume, loopback file
> etc) to it's peer blkfront driver in the guest domain.
> 

Thanks for the prompt reply.  

I'm a bit confused on this point then since the blkfront driver doesn't
appear to make any hypervisor calls to Xen.  If it doesn't do this, how does
it communicate requests to the blkback driver that's actually managing the
block device?

Thanks,

David



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.