# Sel4 VMM Virtio Net Related Porting on Other SOC

**URL:** <https://sel4.discourse.group/t/sel4-vmm-virtio-net-related-porting-on-other-soc/492>\
**Category:** seL4 kernel\
**Created:** [March 7, 2022, 2:08am UTC](https://sel4.discourse.group/t/sel4-vmm-virtio-net-related-porting-on-other-soc/492 "2022-03-07T02:08:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taoer](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Taoer](https://sel4.discourse.group/u/Taoer)\
**Post date:** [March 7, 2022, 2:08am UTC](https://sel4.discourse.group/t/sel4-vmm-virtio-net-related-porting-on-other-soc/492/1 "2022-03-07T02:08:04Z")

</div>

Hi everyone ,

Background:  
I was porting vm\_virtio\_net project on other platforms with Cortex-A55. I met a run error with :

Unhandled offset of 0x14 of size 1, writing 0x2  
Assertion failed: !“panic” (/home/kuang/workspace/penoy/system/core/seL4\_projects\_libs/seL4\_projects\_libs/libsel4vmmplatsupport/src/drivers/virtio\_emul.c: emul\_io\_out: 109)

* * *

While it ran well on qemu with linux kernel version 4.9.189, my linux kernel version for the SOC is 4.14.61. If I replaced the qemu linux kernel with my kernel, the vm\_virtio\_net project also ran well on the qemu platform.

To my analyzation, your virtio\_net driver should be able to support for my platform. Is this related to my dts configuration for PCI node? Or there stiil some work I need to do for libvmmsupport to support my platform?

---

<div class="post-metadata">

**Author:** ![axel](https://yyz2.discourse-cdn.com/free1/user_avatar/sel4.discourse.group/axel/32/43_2.png) [@axel](https://sel4.discourse.group/u/axel)\
**Post date:** [March 11, 2022, 11:55am UTC](https://sel4.discourse.group/t/sel4-vmm-virtio-net-related-porting-on-other-soc/492/2 "2022-03-11T11:55:58Z")

</div>

Thank you very much for investigating this issue. I have created

> <https://github.com/seL4/seL4_projects_libs/issues/35>
>
> Follow-up from https://lists.sel4.systems/hyperkitty/list/devel@sel4.systems/thr…ead/YNTMEMTAUD5ZE6X7J4O4E75OELA6T345/
> 
> The error
> \`\`\`
> Unhandled offset of 0x14 of size 1, writing 0x2
> Assertion failed: !"panic" 
> seL4\_projects\_libs/seL4\_projects\_libs/libsel4vmmplatsupport/src/drivers/virtio\_emul.c: emul\_io\_out: 109
> \`\`\`
> 
> Seem to indicate that the virtio\_net driver of the libsel4vmmsupport does not support IO control for changing the MAC addess of the virtio net in the guest.

to track this bug.
