Closed jason416 closed 5 years ago
I check vm0_config.irqs again after reading main_continued() in main.c. VMM emulates irq save in irq_badges[16], "source" should be equals 16 from "Interrupt: pin A routed to IRQ 16", "dest" should be in the array named irq_badges. other args should be the same as the message got by lspci -vv
. After
i set these args correctly, ethernet card works fine in guest Linux! Thanks for your contribution guys !Merry Christmas !
I normally follow the instructions in official doc ("Virtualisation on seL4"), and succeed. But no matter how i change the configurations of Ethernet card it does not work fine. I check the status of eth0, like:
It seems like the guest linux does not know cable wasn't plugged in, I check the configuration add for vm0 and hardware arguments of this PCIE Ethernet card:
Is the configuration of vm0_config.irqs wrong? How to pass IRQ to guest linux? could you please help me with that , thanks for your time.