qemu problem

Mustafa Hussain mustafa.hussain93 at gmail.com
Sun Apr 19 10:36:25 EDT 2015


@nick i didn't found the configuration file, is it a .config file ?

@max i didn't understand, what i should type exactly to run qemu?

thanks in advance.

On Sun, Apr 19, 2015 at 5:44 AM, Max Filippov <jcmvbkbc at gmail.com> wrote:

> On Sun, Apr 19, 2015 at 6:38 AM, Max Filippov <jcmvbkbc at gmail.com> wrote:
> > On Sun, Apr 19, 2015 at 5:14 AM, Mustafa Hussain
> > <mustafa.hussain93 at gmail.com> wrote:
> >> Hi,
> >> i'm trying to run kernel with qemu but i get some errors while running
> this
> >> command
> >> "
> >> qemu-system-x86_64  --nographic -M pc -no-reboot  -net nic,model=e1000
> -net
> >> nic,vlan=0 -net user,hostfwd=tcp:17777:10.0.2.15:22    -hda hd.img
> -append
> >> "root=/dev/hda1 debug rw console=ttyS0,115200" -s -kernel
> >> "
> >> error says that
> >> qemu-system-x86_64: -net user,hostfwd=tcp:17777:10.0.2.15:22: invalid
> host
> >> forwarding rule 'tcp:17777:10.0.2.15:22'
> >
> > From 'man QEMU' hostfwd has the following format:
> >
> > hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport
> >
> > but you have a colon instead of a dash.
>
> ...and you're missing an additional colon before the first port number.
>
> --
> Thanks.
> -- Max
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150419/ee7e6053/attachment.html 


More information about the Kernelnewbies mailing list