Commit Graph
64 Commits
Author SHA1 Message Date
Martin Willi c587052624 added updated mconsole-exec patch for 2.6.28 2009-03-05 14:32:15 +00:00
Martin Willi 479f295049 fixed compiler warnings issued by:
gcc 4.3
	curl.h gcc type-checking
	glibc with enabled FORTIFY_SOURCE checking
2008-11-11 18:37:19 +00:00
Martin Willi ae42288a81 fixed some minor issues found when using -DFORTIFY_SOURCE=2 2008-11-10 15:45:19 +00:00
Martin Willi ac29400e34 added missing includes 2008-11-05 14:22:58 +00:00
Martin Willi a1db79b31a fixed some compiler warnings 2008-10-27 11:13:33 +00:00
Martin Willi 61508be2f5 added a guest.mconsole() method to script mconsole (e.g. add additional conX=) 2008-10-15 14:47:52 +00:00
Tobias Brunner 1adaa02bb2 merging kernel_pfkey plugin back from kernel-interface branch 2008-10-14 08:46:31 +00:00
Martin Willi 405e8ecfe3 set guest-specific kernel parameters
removed memory setting, use mem= instead
2008-10-10 11:20:04 +00:00
Martin Willi c8ba5125d6 guest bootup waits for init, not for network stack (fixes 2.6.27 guest kernels) 2008-10-07 16:31:41 +00:00
Martin Willi 693a244d0f ported mconsole-exec patch to 2.6.27-rc7 2008-10-07 09:09:34 +00:00
Tobias Brunner 8bbc7ca710 * allow to load templates from arbitrary places
* changed implementation of guest?/iface?
2008-08-28 08:05:07 +00:00
Tobias Brunner ca4f63383c * guest#running?
* guest?, iface? (also Guest.include? resp. guest.include?)
 * easy accessors for guests and ifaces (Guest.sun instead of Guest["sun"] and guest.eth0 instead of guest["eth0"])
 * if a block is given for iface#add or iface#del then the change is only temporary while executing the block and gets reverted afterwards
2008-08-27 07:35:20 +00:00
Martin Willi 7c112a12c0 run guests with some niceness 2008-08-22 08:37:15 +00:00
Tobias Brunner e5d6f165fc * ruby extension extracted from irdumm
* guests do not shutdown anymore on SIGINT in irb
2008-08-07 14:56:54 +00:00
Tobias Brunner f753e03ab8 added missing cleanup on failure 2008-08-06 07:31:26 +00:00
Tobias Brunner 5e9346ed92 exec on a guest now returns the return value of the executed process 2008-07-31 12:59:59 +00:00
Tobias Brunner eadd460f7c the list of addresses on the interface of a guest is not cached anymore, but queried directly from the interface 2008-07-30 13:15:18 +00:00
Tobias Brunner 9901cdb4cd * Guest#exec uses the new exec_str function
* tab completion in irdumm enabled
2008-07-30 13:01:04 +00:00
Tobias Brunner 2e73cd6e87 added an extended exec function to guests that allows to get the output of the command as string or by line. 2008-07-30 12:58:45 +00:00
Martin Willi 7fb2693724 switched xterm console title 2008-07-28 13:10:34 +00:00
Martin Willi bc8f868c99 using gnome-terminal in irdumm 2008-07-28 12:37:01 +00:00
Andreas Steffen 295826b9f0 start default strongSwan UML topology 2008-07-22 17:21:01 +00:00
Martin Willi 2f725443e5 removed testing app, this is scriptable with irdumm now 2008-07-18 12:14:43 +00:00
Martin Willi 1082b06121 fixed compiler warning 2008-07-18 10:54:49 +00:00
Martin Willi 66d4745f8e ported patch to final 2.6.26 release, including UML Makefile fixes 2008-07-15 14:41:12 +00:00
Martin Willi 6c652e6b55 added /usr/local/[s]bin to uml exec path 2008-07-09 12:39:11 +00:00
Martin Willi ddf944be3e loading ruby scripts specified at command line 2008-07-09 12:18:06 +00:00
Martin Willi a9c46ace99 ruby bindings/fixes for template loading 2008-07-09 11:43:48 +00:00
Martin Willi ee70c94835 passing a block to guest.exec() processes output lines 2008-07-09 10:51:10 +00:00
Martin Willi bf44108019 uml "exec" writes stdout/stderr back to mconsole
guest->exec() accepts a callback for output
sligtly refactored mconsole.c
2008-07-08 14:58:20 +00:00
Martin Willi 02a6083633 guest interface/address management using hackish mconsole exec patch, ruby bindings 2008-07-07 14:56:04 +00:00
Martin Willi 36beca7cef disconnecting interfaces properly on bridge destruction 2008-07-05 09:32:55 +00:00
Martin Willi c4d72bdb01 throwing proper exeptions on errors, correct return values
mixin enumerable in classes/objects with .each
2008-07-04 16:42:54 +00:00
Martin Willi ca275ae2ca prototype of irdumm - interactive ruby shell for dumm 2008-07-04 14:21:41 +00:00
Martin Willi 4302d4f012 some stability improvements 2008-07-04 06:58:04 +00:00
Martin Willi ce62751b60 writing guest pid to file (simplifies debugging) 2008-05-21 16:02:16 +00:00
Martin Willi bb94e1ed60 properly removing bootup poll interface eth0 2008-05-15 08:41:00 +00:00
Martin Willi fa44a2981c implemented classical UML network scenario in dumm (ipsec testing) 2008-05-14 13:11:13 +00:00
Martin Willi c48022a282 poll UML guests after startup using eth9=mcast, as networking is loaded after console 2008-05-14 11:48:00 +00:00
Martin Willi ff2d02ed4c fixed interface disconnection 2008-05-09 10:38:18 +00:00
Martin Willi a47486b5e4 prototype of dumm GUI 2008-04-28 16:43:30 +00:00
Martin Willi b638a1009f proper library initialization for dumm 2008-04-21 13:21:21 +00:00
Tobias Brunner ebb036feec functions invoked on all linked list items now support up to five additional arguments 2008-04-18 11:48:53 +00:00
Martin Willi 740153e6f7 fixed typo / include 2007-09-18 13:30:01 +00:00
Martin Willi acc4aa8637 fixed scenario loading 2007-09-13 08:10:36 +00:00
Martin Willi 69e56d9dec simple console support through pts devices 2007-08-28 07:53:46 +00:00
Martin Willi 4614d589c0 fixed build without --enable-uml 2007-08-10 08:58:37 +00:00
Martin Willi f8ced47f5c reread notify socket when interrupted (EINTR) through sigchild 2007-08-10 06:01:03 +00:00
Martin Willi 567019c8d5 fixed libstrongswan linking for libdumm 2007-08-09 12:50:01 +00:00
Martin Willi 10c6cc0a36 removed Makefile from svn
support for scenario switching
2007-08-09 07:14:56 +00:00