Re: qemu problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 19, 2015 at 6:38 AM, Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:
> On Sun, Apr 19, 2015 at 5:14 AM, Mustafa Hussain
> <mustafa.hussain93@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux