qemu network config problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Raymond
Member
Member
Posts: 68
Joined: Thu Jun 09, 2016 4:39 am
Freenode IRC: 573410792

qemu network config problem

Post by Raymond »

I have run the ne2k code successfully on bochs ,but when i test it on qemu,it does not work.

my config of qemu is below:

Code: Select all

qemu-system-x86_64w.exe -L . -m 32 -localtime -fda fdimage0.bin -hda wood.img -net nic,vlan=0,macaddr=08:62:66:c7:9f:69,model=ne2k_pci


The err log of qemu is

Code: Select all

WARNING: Image format was not specified for 'fdimage0.bin' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
WARNING: Image format was not specified for 'wood.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
Warning: vlan 0 is not connected to host network


Who can help me to find any error?thanks

ray
Post Reply