bhyve: Address warnings in blockif_proc()
- Use unsigned types for all arithmetic. Use a new signed variable for holding the return value of pread() and pwrite().
- Handle short I/O from pwrite().
MFC after: 1 week
bhyve: Address warnings in blockif_proc() Tags None Referenced Files None Subscribers None
Description
Details
|