-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add qemu API to stream journal, use it in devshell #1416
Add qemu API to stream journal, use it in devshell #1416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And more code in e.g.
testiso.go
could use it too which can come later.
Oh yes, that'd be great. I'd really like kola testiso
to output logs into --output-dir
.
c102739
to
a894ea4
Compare
Needs a |
a894ea4
to
2bbaef6
Compare
/lgtm |
This came up in coreos/ignition-dracut#146 and since then we've been doing more "ad hoc unit writing to virtio" in mantle, but let's add a general API that streams the journal. This is just better for what devshell wants - we can more precisely watch for sshd starting. And more code in e.g. `testiso.go` could use it too which can come later. The immediate motivation here is I may add another kola test which could use this.
2bbaef6
to
5fd9160
Compare
Ah I see, an import conflict. Rebased 🏄 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This came up in coreos/ignition-dracut#146
and since then we've been doing more "ad hoc unit writing to virtio"
in mantle, but let's add a general API that streams the journal.
This is just better for what devshell wants - we can more precisely
watch for sshd starting. And more code in e.g.
testiso.go
coulduse it too which can come later.
The immediate motivation here is I may add another kola test
which could use this.