Peter Grehan fce0413b0a Export the block size capability to guests.
- Use #defines for capability bits
- Export the VTBLK_F_BLK_SIZE capability
- Fix bug in calculating capacity: it is in
  512-byte units, not the underlying sector size

This allows virtio-blk to have backing devices
with non 512-byte sector sizes e.g. /dev/cd0, and
4K-block harddrives.

Reviewed by:	neel
MFC after:	3 days
2013-10-23 18:54:58 +00:00
..
2013-10-17 22:01:17 +00:00
2013-10-17 22:01:17 +00:00
2013-04-10 02:12:39 +00:00
2013-04-10 02:12:39 +00:00
2013-04-10 02:12:39 +00:00
2013-04-10 02:12:39 +00:00
2013-09-06 05:58:10 +00:00
2013-04-10 02:12:39 +00:00
2013-10-17 22:01:17 +00:00
2013-10-17 22:01:17 +00:00