From: Pankaj Biswas <pankajcabs@gmail.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xen.org
Subject: Re: I want to add a Xen driver and it doesn't look completely trivial given the current driver architecture - any advice?
Date: Fri, 24 May 2013 15:21:48 +0530 [thread overview]
Message-ID: <CALFstV_CUHObXASVEzRZCa8b2z314wV56feD5_qPj_QN0KeP=g@mail.gmail.com> (raw)
In-Reply-To: <20130515141546.GJ15529@phenom.dumpdata.com>
[-- Attachment #1.1: Type: text/plain, Size: 1746 bytes --]
hi Ian and Konrad,
Thanks for the reply and sorry for not being clear on what I want. I want
to work on a CPU/RAM/PCI diagram tool in Xen, which will help in debugging
kernel,hypervisor problems to understand the bus topology of a server. Tool
will create a layout diagram for a server automatically using data from
ACPI/SM-Bios tables, lspci oputput etc. It will either run on a Live system
or offline using captured data to produce a graphical representation of the
hardware device locations,memory bank locations etc. There are other
benefits like labelling relevant hardware errata, performing bus throughput
calculations.
I think hwloc will be good for this requirement.in the code base, there is
a "linux driver" which uses /sys/acpi/$FOO to discover the CPU topology.
A good first task might be to write a "Xen driver" which can work out it is
on Xen and use the topology hypercalls to gain the same information.
So trying and geting hwloc working under Xen will solve this purpose. Can
you please guide me here?
-PankajCabs
On Wed, May 15, 2013 at 7:45 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:
> On Wed, May 15, 2013 at 03:37:39PM +0530, Pankaj Biswas wrote:
> > hi Team,
> >
> > Can you help me here. because the Xen driver is not mutually exclusive
> with
> > their Linux driver,
> >
> > because I think the ability to detect Xen depends on it first finding
> that
> > it is running on Linux.
>
> I have no idea what you are saying here. Could you be more specific please?
>
> >
> >
> > Any help is really appreciated.
> >
> >
> > thanks,
> >
> > PANKAJCABS
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
>
>
[-- Attachment #1.2: Type: text/html, Size: 3069 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-05-24 9:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 10:07 I want to add a Xen driver and it doesn't look completely trivial given the current driver architecture - any advice? Pankaj Biswas
2013-05-15 11:00 ` Ian Campbell
2013-05-15 14:15 ` Konrad Rzeszutek Wilk
2013-05-24 9:51 ` Pankaj Biswas [this message]
2013-05-24 9:55 ` Ian Campbell
2013-05-24 15:06 ` Santosh Jodh
2013-05-29 15:55 ` Dario Faggioli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALFstV_CUHObXASVEzRZCa8b2z314wV56feD5_qPj_QN0KeP=g@mail.gmail.com' \
--to=pankajcabs@gmail.com \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).