Skip to content

Commit

Permalink
examples/framebuffer: add ethernet device to QEMU command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Velickovic committed Sep 23, 2023
1 parent 5db62e1 commit b165a19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/framebuffer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ qemu: all
-serial mon:stdio \
-device loader,file=$(IMAGE_FILE),addr=0x70000000,cpu-num=0 \
-m size=2G \
-device virtio-gpu-pci
-device virtio-gpu-pci \
-netdev user,id=mynet0 \
-device virtio-net-device,netdev=mynet0,mac=52:55:00:d1:55:01

directories:
$(shell mkdir -p $(BUILD_DIR))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</virtual_machine>
<!-- For the pass-through UART -->
<irq irq="33" id="1" />
<!-- For the pass-through virtIO GPU -->
<!-- For the pass-through ethernet -->
<irq irq="79" id="2" trigger="edge" />
</protection_domain>

Expand Down

0 comments on commit b165a19

Please sign in to comment.