Sfoglia il codice sorgente

switch ne2k_pci to virtio

ProgrammerIn-wonderland 7 mesi fa
parent
commit
4f8304ec15
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      src/emulator/basic.html

+ 4 - 2
src/emulator/basic.html

@@ -354,8 +354,10 @@ window.onload = async function()
         },
         // bzimage_initrd_from_filesystem: true,
         autostart: true,
-
-        network_relay_url: "wisp://127.0.0.1:3000",
+        net_device: {
+            relay_url: "wisp://127.0.0.1:3000",
+            type: "virtio"
+        },
         virtio_console: true,
     });