All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xen.org,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Pankaj Biswas <pankajcabs@gmail.com>
Subject: Re: I want to add a Xen driver and it doesn't look completely trivial given the current driver architecture - any advice?
Date: Wed, 29 May 2013 17:55:09 +0200	[thread overview]
Message-ID: <1369842909.3183.12.camel@Solace> (raw)
In-Reply-To: <1369389338.17830.152.camel@zakaz.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1337 bytes --]

On ven, 2013-05-24 at 10:55 +0100, Ian Campbell wrote:
> On Fri, 2013-05-24 at 15:21 +0530, Pankaj Biswas wrote:
> 
> Please don't top-post and please don't post HTML emails to the list,
> plain text only please.
> 
> > 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.
> 
> You can use libxenctrl to make the Xen topology hypercalls. You do not
> need a special driver.
> 
Indeed, and that is available on top of libxl too (in case it is easier
to use). Just look at output_topologyinfo() and output_numainfo() in
tools/libxl/xl_cmdimpl.c .

This might not be the complete set of information you need, but that's
all we have for now. Let us/me know whether there is something that you
think is missing, and we'll see whether and how to put it together. :-)

> > So trying and geting hwloc working under Xen will solve this purpose.
> > Can you please guide me here?
> 
> I have no idea what hwloc requires.
> 
Me neither, sorry. :-(

Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      parent reply	other threads:[~2013-05-29 15:55 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
2013-05-24  9:55     ` Ian Campbell
2013-05-24 15:06       ` Santosh Jodh
2013-05-29 15:55       ` Dario Faggioli [this message]

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=1369842909.3183.12.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=pankajcabs@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.