mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
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:
parent
f7e7777dc5
commit
a50c6e2bbc
1 changed files with 8 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue