Allow Xen to use backing store devices with 4K-byte sectors.
authorkrw <krw@openbsd.org>
Wed, 8 Nov 2023 12:01:21 +0000 (12:01 +0000)
committerkrw <krw@openbsd.org>
Wed, 8 Nov 2023 12:01:21 +0000 (12:01 +0000)
commit4ac41129088538915cae0fb0235a2848dc3e2ad3
tree1eceb0723162dd8190ab8e20848a64d92c8372de
parent9eae2935d282032ec0783176a11757cdac4c15b1
Allow Xen to use backing store devices with 4K-byte sectors.

Problem reported and much testing by Christian Kujau. Thanks!

Roughly equivalent to bouyer@NetBSD changes prompted by
Christian.

ok mlarkin@ dlg@
sys/dev/pv/xbf.c