Project

General

Profile

Bug #13147

bhyve kernel could make more use of BITX()

Added by Patrick Mooney 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
bhyve
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
bhyve
Gerrit CR:

Description

As jclulow pointed out in a bhyve-related code review, BITX is a convenient macro for extracting runs of bits from fields.
There are numerous cases where raw bit math is being done in the bhyve kernel today which could be replaced by more readable BITX expressions.


Related issues

Related to illumos gate - Bug #13139: bhyve bungles math for VMX ins/outs sizeClosedPatrick Mooney

Actions
#1

Updated by Patrick Mooney 3 months ago

  • Related to Bug #13139: bhyve bungles math for VMX ins/outs size added

Also available in: Atom PDF