Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trouble getting xbd devices to work



On Sat, Aug 25, 2018 at 08:33:49PM +0200, Jaromír Dole?ek wrote:
> I was able to boot domU kernel fine with rev. 1.84, but perhaps just
> lucky to not hit it. Sure it would be good to check if rev. 1.84 or
> anything after that broke it.
> 
> I think that actually that condition for 512-byte alignment can simply
> be removed. I don't see there anything intrinsically requiring it.
> Unless of course there is something special in xbd backend code.

                req->seg[seg].first_sect = off >> XEN_BSHIFT;

The xbd protocol uses 512 bytes as base unit for offsets

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index