[SeaBIOS] Question on virtual block device

Daniel Castro evil.dani at gmail.com
Thu Oct 27 18:14:55 CEST 2011


Hello All,

I am connecting my front and back for a block device.
I have collected from xenstore sectors, sector-size. But I also need:
    u16 heads;      // # heads
    u16 cylinders;  // # cylinders
    u16 spt;        // # sectors / track
I guess from the SeaBIOS perspective they are required, but from the
xen perspective how can I get them? pure math/translation?

Thanks,

Daniel

-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+



More information about the SeaBIOS mailing list