xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Smith <dpsmith.dev@gmail.com>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel@lists.xenproject.org
Subject: Re: [Xen-devel] Running xenstored in Linux stubdom
Date: Wed, 4 Sep 2019 13:26:29 -0400	[thread overview]
Message-ID: <CADAP9AVJqfBGNBQVE-4ztA7Tjdwf0Y9GC-P=jwkx8sTM98BzVw@mail.gmail.com> (raw)
In-Reply-To: <2e2293bc-4187-3fe8-52d6-96f709ae4c3c@suse.com>

On Wed, Sep 4, 2019 at 12:12 PM Juergen Gross <jgross@suse.com> wrote:
>
> The stubdom gets an event channel to use for dom0 xenbstore connection
> via commandline parameter ("--event <event-nr>"). This needs to be used
> in the stubdom for setting up the communication path.
>
>
> Juergen

Hi Juergen,

Thanks for the quick response! tracing through xenstored, looks like
that flag sets the variable dom0_event which is only used in the
xenstored_minios.c as the return value to the xenbus_evtchn() call. I
could naively short circuit xenbus_evtchn() under xenstored_posix.c to
return immediately if dom0_event has been set. If that works, I would
be glad to submit it back upstream if there is interest in
incorporating it.

Thanks again!
Daniel P. Smith

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-09-04 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 15:45 [Xen-devel] Running xenstored in Linux stubdom Daniel Smith
2019-09-04 16:12 ` Juergen Gross
2019-09-04 17:26   ` Daniel Smith [this message]
2019-09-06 18:01     ` Daniel Smith
2019-09-09  9:08       ` Juergen Gross

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='CADAP9AVJqfBGNBQVE-4ztA7Tjdwf0Y9GC-P=jwkx8sTM98BzVw@mail.gmail.com' \
    --to=dpsmith.dev@gmail.com \
    --cc=jgross@suse.com \
    --cc=xen-devel@lists.xenproject.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).