Skip to content
Snippets Groups Projects
Commit 267cd53f authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

block: try BSD disk size ioctls one after another


Try all the possible ioctls for disk size as long as they are
supported, to keep the #if ladder simple.

Extracted and cleaned up from a patch by Joelle van Dyne and
Warner Losh.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent feccdcee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment