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: Fri, 6 Sep 2019 14:01:37 -0400	[thread overview]
Message-ID: <CADAP9AUFVXMBLVkROPTWE_ox5CnvDRC6rdv2Mam=wDn7+TedcA@mail.gmail.com> (raw)
In-Reply-To: <CADAP9AVJqfBGNBQVE-4ztA7Tjdwf0Y9GC-P=jwkx8sTM98BzVw@mail.gmail.com>

On Wed, Sep 4, 2019 at 1:26 PM Daniel Smith <dpsmith.dev@gmail.com> wrote:
>
> 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.

Hi again,

I made the change to short circuit the xenbus_evtchn and did testing
as a guest domain approach to confirm that i was parsing the
parameters correctly in initramfs script that init-xenstore-helper
passed. I am still it hanging after the attempt to write
/tool/xenstored/domid. At this point I was wondering if there might be
a way to get console output from the domain to try and troubleshoot if
xenstored is getting started when actually running as the actual
stubdom instead of as a guest?

Thanks in Advance!
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-06 18:01 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
2019-09-06 18:01     ` Daniel Smith [this message]
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='CADAP9AUFVXMBLVkROPTWE_ox5CnvDRC6rdv2Mam=wDn7+TedcA@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).