Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From past two days i trying to ping my host from running guest on qemu.
Both host and guest is fedora 9. Network emulation on guest os require tap0 interface that is not present on my host. I know that i am not getting the point correctly, where i am doing mistake?
how i can bridge my eth0 with virtual tap0, when tap0 is not present.
I tried boot my image, but qemu just waiting something. I didn't seen whatever in stdio, why?
If everything is okay QEmu will not output anything to the shell.
If you want to be able to interact with the VM on the shell I suggest appending -monitor stdio to your list of parameters.
Quote:
Originally Posted by quantt
You needs to create tap0 by your hands via tunctl in linux.
No, I didn't need to do this manually. I used to do it as shown above on LFS and just for this thread tested it on Fedora 10. I did not have to create the tap-device, QEmu did this for me.
Of course you need to be root for that.
If everything is okay QEmu will not output anything to the shell.
If you want to be able to interact with the VM on the shell I suggest appending -monitor stdio to your list of parameters.
hm. but if I launching that like this, qemu do nothing events somewhere.
qemu -m 256 -hda netbsd.img -nographic -localtime -no-acpi -boot d -monitor stdio
furthermore, it is not eating cpu capacity.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23455 root 20 0 382m 9.8m 1596 S 0 0.1 0:00.18 qemu
Do you have a GUI available on that machine that you could start QEmu with a window and then see if it actually can boot.
Maybe it tries to boot but cannot for some reason which would only the visible in the VM's window, and thus is not eating up much CPU.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.