<div dir="ltr">@nick i didn't found the configuration file, is it a .config file ? <div><br></div><div>@max i didn't understand, what i should type exactly to run qemu? </div><div><br></div><div>thanks in advance.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 19, 2015 at 5:44 AM, Max Filippov <span dir="ltr"><<a href="mailto:jcmvbkbc@gmail.com" target="_blank">jcmvbkbc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sun, Apr 19, 2015 at 6:38 AM, Max Filippov <<a href="mailto:jcmvbkbc@gmail.com">jcmvbkbc@gmail.com</a>> wrote:<br>
> On Sun, Apr 19, 2015 at 5:14 AM, Mustafa Hussain<br>
> <<a href="mailto:mustafa.hussain93@gmail.com">mustafa.hussain93@gmail.com</a>> wrote:<br>
>> Hi,<br>
>> i'm trying to run kernel with qemu but i get some errors while running this<br>
>> command<br>
>> "<br>
>> qemu-system-x86_64 --nographic -M pc -no-reboot -net nic,model=e1000 -net<br>
>> nic,vlan=0 -net user,hostfwd=tcp:17777:<a href="http://10.0.2.15:22" target="_blank">10.0.2.15:22</a> -hda hd.img -append<br>
>> "root=/dev/hda1 debug rw console=ttyS0,115200" -s -kernel<br>
>> "<br>
>> error says that<br>
>> qemu-system-x86_64: -net user,hostfwd=tcp:17777:<a href="http://10.0.2.15:22" target="_blank">10.0.2.15:22</a>: invalid host<br>
>> forwarding rule 'tcp:17777:<a href="http://10.0.2.15:22" target="_blank">10.0.2.15:22</a>'<br>
><br>
> From 'man QEMU' hostfwd has the following format:<br>
><br>
> hostfwd=[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport<br>
><br>
> but you have a colon instead of a dash.<br>
<br>
</div></div>...and you're missing an additional colon before the first port number.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Thanks.<br>
-- Max<br>
</font></span></blockquote></div><br></div>