All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastian Blank <bastian@waldi.eu.org>
To: Konrad Rzeszutek Wilk <konrad@darnok.org>
Cc: dgdegra@tycho.nsa.gov, xen-devel@lists.xensource.com
Subject: Re: [PATCH 5/5] xen: Add xenbusd device driver
Date: Mon, 28 Nov 2011 19:52:53 +0100	[thread overview]
Message-ID: <20111128185253.GA8846@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <20111128183723.GD21369@andromeda.dapyr.net>

On Mon, Nov 28, 2011 at 02:37:23PM -0400, Konrad Rzeszutek Wilk wrote:
> On Sun, Nov 27, 2011 at 11:07:08PM +0100, Bastian Blank wrote:
> > +obj-$(CONFIG_XEN_DOM0) += xenbus_dev_backend.o
> I think this needs to depend on XEN_BACKEND ?

Right.

> > +		case IOCTL_XENBUSD_EVTCHN:
> > +			if (xen_store_evtchn > 0)
> > +				return xen_store_evtchn;
> > +			return -EINVAL;
> 
> Not -ENODEV? After all, the command arguments were OK, it is just that
> the eventchannel has not been set.

Ups.

> > +	if (!xen_initial_domain())
> 
> With the disgregated domains (and the patches that Daniel posted), I
> think this needs to relax a bit. Perhaps just make it 'xen_domain'?

Right now, xenstored needs to run where the communication ring is
located. And this ring is allocated in dom0. How would any domU run
without xenstored available?

> > +#define IOCTL_XENBUSD_EVTCHN				\
> > +	_IOC(_IOC_NONE, 'X', 0, 0)
> _IOC_READ ?

No. It does not communicate via the parameter, only the return value.

Bastian

-- 
Schshschshchsch.
		-- The Gorn, "Arena", stardate 3046.2

  reply	other threads:[~2011-11-28 18:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 22:07 [PATCH 0/5] Move stuff out of xenfs Bastian Blank
2011-11-27 22:07 ` [PATCH 1/5] xen/sys/hypervisor: Export guest_properties/is_initial_domain Bastian Blank
2011-11-28 18:14   ` Konrad Rzeszutek Wilk
2011-11-28 18:38     ` Bastian Blank
2011-11-29 23:24       ` Konrad Rzeszutek Wilk
2011-11-27 22:07 ` [PATCH 2/5] xen: Add privcmd device driver Bastian Blank
2011-11-28 16:26   ` Ian Campbell
2011-11-28 17:39     ` Bastian Blank
2011-11-28 18:00       ` Ian Campbell
2011-11-28 18:23         ` Bastian Blank
2011-11-28 19:13           ` Ian Campbell
2011-11-28 18:22   ` Konrad Rzeszutek Wilk
2011-11-28 18:46     ` Bastian Blank
2011-11-27 22:07 ` [PATCH 3/5] xen/privcmd: Remove unused support for arch specific privcmp mmap Bastian Blank
2011-11-27 22:07 ` [PATCH 4/5] xen: Add xenbus device driver Bastian Blank
2011-11-28 18:10   ` Konrad Rzeszutek Wilk
2011-11-27 22:07 ` [PATCH 5/5] xen: Add xenbusd " Bastian Blank
2011-11-28 18:37   ` Konrad Rzeszutek Wilk
2011-11-28 18:52     ` Bastian Blank [this message]
2011-11-28 19:12       ` Daniel De Graaf
2011-11-28 19:42         ` Bastian Blank
2011-11-28  9:03 ` [PATCH 0/5] Move stuff out of xenfs Christoph Egger
2011-11-28  9:31   ` Ian Campbell
2011-11-28  9:39     ` Christoph Egger
2011-11-28  9:51       ` Ian Campbell

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=20111128185253.GA8846@wavehammer.waldi.eu.org \
    --to=bastian@waldi.eu.org \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=konrad@darnok.org \
    --cc=xen-devel@lists.xensource.com \
    /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.