This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13078] investigate qemu virtio-serial channel for talking to stap-sh
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 26 Aug 2013 18:07:33 +0000
- Subject: [Bug runtime/13078] investigate qemu virtio-serial channel for talking to stap-sh
- Auto-submitted: auto-generated
- References: <bug-13078-6586 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13078
--- Comment #8 from Jonathan Lebon <jlebon at redhat dot com> ---
I've just deleted and recreated the jlebon/cross-vm branch containing multiple
modifications as discussed here. Here is the main diff:
- Add an "option" command to stapsh. E.g. "option verbose" increments verbosity
and "option quit" causes stapsh to send "quit" to stap upon exiting.
- The "option data" command turns on 'prefixing' which prefaces all outputs
from staprun by "data stream size".
- For the unix scheme, turn on the "data" and "quit" options.
- To deal with handling commands and data printing, a new class ShStream was
added in remote.cxx and is used by handle_poll().
- Add a -l [PORT] option to stapsh to listen to any old serial port.
There are three things that remain to be done:
- Also use SIGIO so that we have immediate knowledge of the host connecting
rather than busy polling.
- Do the TODO in ShStream::print so that scripts such as 'timer.s(1) {
printf("hello") }' --remote-prefix does not cause the output 0: hello0: hello0:
hello
- (Once stap-vm is complete) Create a qemu_stapsh class (and possibly a new
scheme qemu://VMNAME to go along with it) and move the "quit" option from
unix_stapsh to qemu_stapsh, since unix does not strictly need the quit option.
--
You are receiving this mail because:
You are the assignee for the bug.