3 ms·
Warning for humans! If you are trying to run a virtual PC on QEMY let's say on bare metal hosting from hetzner, you will very soon discover - QEMU is a dead slo
by adeptima 2y ago
Warning for humans! If you are trying to run a virtual PC on QEMY let's say on bare metal hosting from hetzner, you will very soon discover - QEMU is a dead slow without actual graphic card or at best you will get all kind of funky missing libs error messages on Ubuntu and other OS in very surprise spots.
Had a very good experience simulating K8s cluster with QEMU aka studing K8s hard way once I figure out how networking actually works between virtual machines and domains can be assigned with external proxy.
- yjftsjthsd-h 2y agoWhy would qemu care about having a graphics card? Do you mean that whatever system you were running inside qemu expected a GPU and was slow without it?
- wmf 2y agoIf the OP was running a virtual desktop on a server with no GPU then they probably had to fall back to software rendering which can be slow. This isn't QEMU's fault per se; if you physically don't have a GPU then you don't have a GPU.
- adeptima 2y agocorrect. thank you for phrasing it better
- TeeMassive 2y ago> Had a very good experience simulating K8s cluster with QEMU aka studing K8s hard way once I figure out how networking actually works between virtual machines and domains can be assigned with external proxy. This is an awesome use of QEMU! I'm both interested in learning K8s and what goes on under the hood at the kernel level because I do cloud connected IoT stuff, so I'll definitely use that! Is there any kind of "build the kernel from scratch" project for that kind of stuff?
- adeptima 2y agoI was inspired by the article "Kubernetes The Hard Way" ... cant find the original article now Had to study concepts like "bridged networking with libvirt" https://linuxconfig.org/how-to-use-bridged-networking-with-libvirt-and-kvm https://linuxconfig.org/how-to-use-bridged-networking-with-l... No way I would recommend my way to study k8s ... it was just a pet project for a greater good. Now in 2024 it's better to start from projects like minikube or k3s (my preference) on local computer https://minikube.sigs.k8s.io/docs/ https://minikube.sigs.k8s.io/docs/ https://docs.k3s.io/ https://docs.k3s.io/ and later use terraform to provision infra or Forget it all and just use managed kubernets from cheaper providers like digital ocean The result of inflicting pain on myself - I do value the work done by people who provide stable managed kubernets and upgrade it flawlessly.
- navaati 2y agoHi, one probably really wants to use libvirt rather than qemu directly. That way you can create your VMs remotely with a GUI (virt-manager) using a ssh-based libvirt url, or a CLI (virsh) and it will handle all the right parameters for qemu, the required networking setup, etc. Check it out !
- adeptima 2y agoyes, i connect with virt-manager and ssh-based libvirt url. my main case was to scrape multiple messangers and apps with desktop ui only. everything must run and render on server.
- adeptima 2y agoas @wmf correctly stated "If the OP was running a virtual desktop on a server with no GPU then they probably had to fall back to software rendering which can be slow. This isn't QEMU's fault per se; if you physically don't have a GPU then you don't have a GPU." and 99% cheap servers in the wild dont have a GPU or even hardware graphic card