Skip to content

problem Ethdriver 82574 on Qemu X86_64  #123

Description

@rezayazdanparast1376

Hi. I'm working on a new camkes-based project.
This project is simulated by using Qemu, on Q35 machine for X86_64 arch and e1000e eth. I am using intel controller driver (82574 controller) for network communication. my project has built successfully and completed intel network driver initialized.

But when using network in my application in Qemu, no network packet is sent and received!

Qemu command:

sudo qemu-system-x86_64 -machine q35,accel=kvm,kernel-irqchip=split -cpu host, 
-netdev tap,id=netdev0,ifname=tap0,script=no,downscript=no 
-device e1000e,id=nic0,netdev=netdev0,mac=52:55:00:d1:55:01  
-nographic  -serial mon:stdio -m size=4G  -device intel-iommu  
-kernel ./target/debug/images/kernel-x86_64-pc99  
-initrd ./target/debug/images/capdl-loader-image-x86_64-pc99

.

Appendix:
Create tap0 command:

export TAP_DEV=tap0
sudo ip tuntap add dev $TAP_DEV mode tap
sudo ip addr flush dev $TAP_DEV
sudo ip addr add 10.10.100.1/24 brd 10.10.100.255 dev $TAP_DEV
sudo ip link set dev $TAP_DEV addr 02:00:ca:fe:01
sudo ip link set dev $TAP_DEV up

.

how to fix this problem?
thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions