This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13078] New: investigate qemu virtio-serial channel for talking to stap-sh
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 11 Aug 2011 18:21:19 +0000
- Subject: [Bug runtime/13078] New: investigate qemu virtio-serial channel for talking to stap-sh
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13078
Bug #: 13078
Summary: investigate qemu virtio-serial channel for talking to
stap-sh
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
qemu's virtio/serial widget allows a secure bidirectional channel for
the host to talk to a guest. We could investigate setting up some guest-side
infrastructure to have a copy of stap-sh listen on one or more such channels,
to launch stap modules without having to set up ssh.
Possible user interface:
(HOST)
% qemu-kvm -chardev socket,id=systemtap.0,server,nowait,path=/PATH/TO/SOCKET
...
% stap --remote=unix:/PATH/TO/SOCKET ...
(GUEST)
Have a systemd or sysvinit script to start up / respawn
stap-sh </dev/virtio-ports/systemtap.0 >/dev/virtio-ports/systemtap.0 2>&1
See also:
http://www.linux-kvm.org/page/Virtio-serial_API
https://rwmj.wordpress.com/2011/07/07/how-does-libguestfs-live-work/
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.