xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Smith <dpsmith.dev@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: jgross@suse.com
Subject: [Xen-devel] Running xenstored in Linux stubdom
Date: Wed, 4 Sep 2019 11:45:15 -0400	[thread overview]
Message-ID: <CADAP9AWJ46Oh=b-1K1hTNnkD=0DTYtYGX4L7VQp51QBaQCeYNw@mail.gmail.com> (raw)

Greetings,

I am attempting to see if I can get xenstored to run within a Linux
stubdom for a variety of reasons. The way I have it constructed at
this point is that embedded within the initramfs of dom0 is the linux
stubdom image along with the init-xenstore-domain helper. The init
script within the initramfs does basic Linux start setup, launches
udev and then attempts to start the stubdom using the helper binary.
The helper binary hangs and using strace shows the last calls before
hanging is,

write(3, "/tool/xenstored/domid\0:, 22) = 22
write(3, "1", 1)                                      = 1
read(3,

For the stubdom itself, its init script does the basic Linux start
setup and then executes xenstored in foreground. I have tested the
stubdom as a regular guest passing the --no-domain-init flag and I see
no issues with the domain starting and launching xenstored.

For a point of reference, I have been able to successfully use the
minios stubdom in place of the Linux stubdom. I have been reviewing
the minios version to see what I might be missing in the LInux version
to no avail. Perhaps others may have insight on what the issue may be.

Thank 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-04 15:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 15:45 Daniel Smith [this message]
2019-09-04 16:12 ` [Xen-devel] Running xenstored in Linux stubdom Juergen Gross
2019-09-04 17:26   ` Daniel Smith
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='CADAP9AWJ46Oh=b-1K1hTNnkD=0DTYtYGX4L7VQp51QBaQCeYNw@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).