I guess this question might have been discussed... is it possible to call regular libc functions and rump APIs (such as rump_sys_XXXX) in the same C file?
For example, is there an easy way to implement a 'cp' command to copy between Linux host FS and the rump FS ? Thanks, Liming Thanks! Yes, you're right. My iproute doesn't support the 'tuntap' option so I used tunctl earlier to bring up tun0 which seems not exactly the same (or probably not configured properly). After upgrading to latest iproute, now virt0 comes up :) On Mon, May 25, 2015 at 6:33 AM, Antti Kantee <[email protected]> wrote: > On 25/05/15 00:00, Liming Sun wrote: > >> Thanks! I checked out rumpctrl and followed examples there. It seems >> straightforward. >> I got some errors when trying to create the virt0 interface. This is a >> pretty recent checkout. Not sure if you could see anything obvious... >> > > Did you use these instructions? > http://wiki.rumpkernel.org/Howto%3A-Networking-with-if_virt > > $ ./ifconfig virt0 create >> ./ifconfig: clone_command: Invalid argument ===> error message I >> got >> ./ifconfig: exec_matches: Invalid argument ===> error message I >> got >> > > I'm guessing that you're missing a host tun0 interface, but I'm not sure > why you'd get EINVAL as a response for that. In any case, using strace or > gdb on the rump server process is much more effective than me guessing. > >
