Commit graph

1 commit

Author SHA1 Message Date
bouyer
5bba88133c Add a patch which fixes 2 problems:
- use the correct way to get the size of a disk device or partition (from
  haad@NetBSD.org)
- if given a block device, use the character device instead (the block device
  is already in use by the backend driver).

With this I could succeffully boot a HVMPV FreeBSD kernel using a phy:
virtual disk.
2011-05-20 17:09:21 +00:00