WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Question on virtual block device

To: xen-devel@xxxxxxxxxxxxxxxxxxx, seabios@xxxxxxxxxxx
Subject: [Xen-devel] Question on virtual block device
From: Daniel Castro <evil.dani@xxxxxxxxx>
Date: Fri, 28 Oct 2011 01:14:55 +0900
Cc:
Delivery-date: Thu, 27 Oct 2011 09:15:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=34HznE9ulelD4DVqPFGGqJUemIP1pJmfuHSQqf48S4k=; b=dHfUWsJ04OsyxzeYrsepNYC/EIAJBxlEKO5llcW38nEks/YfrzZyyTWtwYkJjrIOUm RLxXoAe66PmveIlH751VySP6IOVGSF2fW64XKCWplH9EPKy2+pCjsCGbbgMrRMjWroto PErEJRPx6LJuRlzUxKx1wY9r3qEFWA3XGytJI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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                         |
+-------------------------------------+

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>