From 192ed53c92e746c3921cc0f0478eb97f83558e8e Mon Sep 17 00:00:00 2001 From: Pham Le Gia Dai Date: Tue, 8 Jul 2025 21:53:36 +0700 Subject: [PATCH 1/2] feat: add favico header --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 79c0e89..0ba2b20 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,8 @@ - + + BitBox - Browser VM From e72b383ba0f619d83e9fdab5b15426d63a985586 Mon Sep 17 00:00:00 2001 From: Pham Le Gia Dai Date: Wed, 9 Jul 2025 00:33:52 +0700 Subject: [PATCH 2/2] feat: change net_device type to virtio --- src/main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 022e9ec..902f85b 100644 --- a/src/main.js +++ b/src/main.js @@ -132,7 +132,7 @@ const entry = () => { // initialize emulator const emulator = new window.V86({ wasm_path: '/v86/v86.wasm', - acpi: true, + acpi: false, screen_container: state.serial, serial_container_xtermjs: state.terminal, memory_size: import.meta.env.VITE_EMULATOR_RAM * 1024 ** 2, @@ -150,7 +150,10 @@ const entry = () => { autostart: true, disable_keyboard: true, disable_speaker: true, - network_relay_url: import.meta.env.VITE_NETWORK_RELAY, + net_device: { + relay_url: import.meta.env.VITE_NETWORK_RELAY, + type: 'virtio', + }, cmdline: 'tsc=reliable mitigations=off random.trust_cpu=on', });