Connect guest network adapters (#704)

You'll still need to assign a static IP to each VM, but they can communicate!
This commit is contained in:
hello-smile6 2022-07-14 01:20:56 -07:00 committed by GitHub
parent f7e7777dc5
commit a50c6e2bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,14 @@ window.onload = function()
{
emulator2.serial0_send(char);
});
emulator1.add_listener("net0-send", function(data)
{
emulator2.bus.send("net0-receive", data);
});
emulator2.add_listener("net0-send", function(data)
{
emulator1.bus.send("net0-receive", data);
});
};
</script>