xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Xen-devel] Running xenstored in Linux stubdom
@ 2019-09-04 15:45 Daniel Smith
  2019-09-04 16:12 ` Juergen Gross
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Smith @ 2019-09-04 15:45 UTC (permalink / raw)
  To: xen-devel; +Cc: jgross

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-09  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2019-09-09  9:08       ` Juergen Gross

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).