HomeFreeBSD

bhyve: Address warnings in blockif_proc()

Description

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

Details

Provenance
markjAuthored on Oct 25 2022, 1:16 PM
Parents
rGe008f5be72ba: bhyve: Fix a typo in a function name
Branches
Unknown
Tags
Unknown