nemuTUI / nemu

Ncurses UI for QEMU
BSD 2-Clause "Simplified" License
279 stars 22 forks source link

option to compile without SSL becous of portability and performance #173

Open mckaygerhard opened 5 days ago

mckaygerhard commented 5 days ago

i want to make a portable version that runs only locally, no network connection..

seems SSL are used for remote connections that seems its not mandatory.. cos vnc protocol allows to use it without it! this permits to runs faster and the connection performs better due non extra layers of security (local runs only)

by example in src/nm_cfg_file.c line 67 you can move to line 71 cos the interfacer and port are non ssl forced.. for vnc, again in line 358 can be moved to line 374 cos only CERT/KEY/SALT/HASH are need for ssl.. on vnc connections..

virtual machines created with those vga support runs slower (by few cicles but is true) .. so by example i do not allow any of those if i already know will runs perfectly (cos i used nomachine and ssh for runs this..

by example to runs games on f***ng windos i do not enable any security thing cos gives bad performance.. i remove any security layer and games plays better by some FPS

of course in this way sounds easy.. but we need to modify the init parsing options then if no ssl is performed!

mckaygerhard commented 5 days ago

This also depends on emulation.. your inteface always use virtio network device but this performs better only if you have KVM enabled.. that is not the case if host and guess are not common arches.. like AMD64 as host and ARM64 as guest.. https://venenux.github.io/alpine-wiki/#/documents/alpine-newbie-qemu-virtualization#network-device-recommendations