/r/virtualization
Virtualization is transforming computing, from the datacenter to the desktop. News, comparisons, bugs, assistance, migration, anything: we're here to talk about it. P2V the world!
You are able to set your flair to any text you like.
Virtualization refers to the act of creating a virtual (rather than actual) version of something, including but not limited to a virtual computer hardware platform, operating system (OS), storage device, or computer network resources.
Virtualization is transforming computing, from the datacenter to the desktop. News, comparisons, bugs, assistance, migration, anything: we're here to talk about it. P2V the world!
Standard Reddit rules apply!
Please keep it related to Virtualization - do not bash competing products. Try to give anecdotal evidence when possible.
We're here for serious discussion. Memes, Reaction GIFs, Facebook links, referral links, and similar content are not allowed in posts or comments.
Please don't discuss pirated content - this includes MacOS on non-Apple branded hardware (eg Hackintosh) WILL be removed.
When asking a question or seeking help try and give a much information on what you are wanting to do or what issue you're having. Actually try please.
See subreddit rules page for more detailed info. Ignorance of rules is inexcusable.
More to follow soon! Please let us know what you'd like to add!
/r/VMWare - The gold standard in virtualization, VMWare!
/r/HyperV - Microsoft's Hypervisor!
/r/Xen - Discussion about Xen!
/r/VirtualBox - VirtualBox, the Desktop virtualization program!
/r/Citrix - Citrix!
/r/platformengineering - building a better base
VM - Virtual Machine
P2V - Physical to Virtual - taking a physical computer & making a VM out of it.
V2P - The opposite, usually done when you are having an issue with a VM or management decides to nix virtual machines for some insane reason
HA - High Availability
PaaS - Platform As A Service
/r/virtualization
Hi everybody,
I have my own W11 computer which I mostly use for media and gaming, and I also work as a research scientist and develop physics simulation softwares. Therefore I mainly work on Linux and I would like to have a way to work on my personal computer, which is why I would like to have a Linux VM on my W11.
I already tried WSL but I really did not enjoyed it that much and I would largely prefer a proper Ubuntu OS for work and completely independent of my W11 files to some extent. But I don't know much about virtualization, so what would you recommend between softs such as VirtualBox, Hyper-V etc. ? So that I can use a large amount of my computer resources (I do demanding 3D physics computations) and custom it the way I want ?
Thanks a lot ! :)
When I try to make a windows Vm on UTM I always end up with UEFI. But when I toggle off UEFI it is just a blank screen.
How do I dynamically use computing power of multiple GPUs over multiple VMs?
Me and my neighbour started a huge homelab project. But for everything to work as we want it we need to spread the resources of our GPUs over multiple VMs.
As far as I know if you set up a VM you van assign a GPU to it and the VM uses this GPU exclusively and no other VM can access the same one. But there are ways to change this.
I have heard of NVIDIA vGPU which basically creates virtual GPUs so the VM thinks it has access to one real GPU but the vGPU can dynamically access as much resources as the VM currently needs. Is it possible with NVIDIA vGPU to dynamically spread the VRAM and the power of all available GPUs over all currently running VMs so that the ones who need the most computing power get more then the oter ones? And if yes, is this the only way? Are there any alternatives? How would you solve this problem?
Sorry if this is a stupid question, I searched but came up empty.
My main rig is Windows (boo), and I use VirtualBox to run various VMs (mostly Linux, occasionally Windows for testing stuff). It works well enough, and I'm happy with this solution for my professional needs.
I love playing classic games, and I'm looking to give PCem or 86box a try. If I install one or both of these on the computer that runs VirtualBox, will they all happily co-exist, or will they interfere with each other in some way? I'm not trying to do nested virtualization here, these will all be installed on the main host. My main concern is breaking my VirtualBox setup, as I use this for work stuff. I appreciate any advice, thanks!
Hello !
This week I came across a big issue and I still looking for a way to make it work.
I actually have a 6 nodes clustered proxmox. Nodes 1-4 are used for prod, preprod and backups. 5-6 are where my issue is.
I call them datastores, they are supposed to be used to give my VMs on 1-4 a network storage (used for a postgre database).
I need them to be HA/Synced so that in case of failure my VMs can still work.
I first used to setup OpenMediaVault with DRDB, creating an iscsi target and all. All is good exept I cannot setup the target on proxmox. Tried multiples solutions, played with network configuration but nothing is working.
Now im considering finding a new solution but everythink I find seems outdated (glusterFS, lizardFS), non-reliable (NFS or SMB), or not suitable (seems like CEPH needs his own network...)
Does anyone has a similar setup ? I can even get rid of the proxmox on 5-6...
EDIT: To anyone who encountrers this issue, this ocurred on the Kernel version:
linux-image-6.9.3-76060903-generic
What I did was check the installed Kernel versions I have with the command:
dpkg --list | grep linux-image
In my case, the earliest version was:
linux-image-6.0.12-76060006-generic
I changed it by using this command:
sudo kernelstub -v -k /boot/vmlinuz-6.0.12-76060006-generic -i /boot/initrd.img-6.0.12-76060006-generic
Please keep in mind to change the Kernel version according to your System
Hello everyone. I just updated my system and even tho I have Virtualization Enabled on my BIOS and Virtualbox works with no issue, when it comes to Virt-Manager and KVM it doesn't work.
If I try to add the kvm modules I also get an error:
sudo modprobe kvm_amd
modprobe: ERROR: could not insert 'kvm_amd': Exec format error
This is the error I get on Virt-Manager:
Error starting domain: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
Hi, I've been using VirtualBox for quite a while, and I've been using a VDI file as a secondary disk. It worked perfectly until yesterday, when I reverted to a snapshot... this also reverted the secondary disk back to the snapshot point, along with the machine itself.
I have also created a script to copy the secondary and turn it into a backup. When I connected to the backup, the data was missing.
According to the documentation, it turns out that in VirtualBox, the restoration process is synced with the secondary disk. VirtualBox offers about three options for VDI. The only method which is writeable and doe's not related to images is the "writethrough" which got broken when attaching it to other machines. RAW files weren't stable as well.
I would be soooo grateful for any idea or tip. How would you configure a virtual USB for VMs? My last option is shared directory with the host, however, it is not my favorite solution.
Thanks in advance!
Installed open virtual switch with lldp and the dpdk libraries. I did a very light configuration to experiment with VM latency on DPDK, basic stuff. When I looked at resource utilization, I had 2 cores dedicated to the virtual switch, and another core for lldpad. So 3 cores at about 100% at all times to run OVS? Does that sound correct? Seems really high to me.
I have this option enabled and it still does not sync with the host. Attached screen shot with the option enabled and VM time with host time on bottom right.
Hi everyone,
I'm currently exploring bare-metal Kubernetes and Bare Metal as a Service (BMAAS) solutions. I've come across container-based operating systems like RancherOS and Kubernetes-optimized OSs such as Talos Linux, Flatcar Linux, and RHEL. Each of these seems to support different Kubernetes flavors (e.g., Rancher Kubernetes, Tanzu, upstream Kubernetes).
I've also noticed other bare-metal Kubernetes options like OpenShift, EKS Anywhere, and Anthos. What are your experiences with these platforms? Are there specific ones you recommend exploring further for a better understanding or practical use cases?
As for BMAAS, I’ve looked into MAAS and Tinkerbell so far. Are there other tools or solutions worth considering in this space?
Thanks in advance for sharing your insights!
According to Wikipedia, VMware Fusion is discontinued.
Is this true? I've installed VMware Fusion via Homebrew and I'm currently using it to run Xubuntu 24.04 on my MacBook Air 2020, and so far, out of all the VM software I've tried, Virtualbox, UTM, Parallels, VMware Fusion is the best.
Join for this interactive lab session: Platform9 will host the next 0-60 Virtualization Workshop: A Hands-On Lab on Feb 11th and 13th.
This hands-on lab is designed for VMware administrators who are considering an alternative hypervisor (KVM) and virtualization management solution. Engineers from Platform9, many of whom worked at VMware or have extensive experience using VMware will be running these labs using Platform9 Private Cloud Director (PCD). PCD is a production-ready, enterprise-grade virtualization solution that is designed to be easy to use and manage for VMware admins.
Our goal is to have 1 engineer for ~3 participants, to ensure we can provide a high level of interactivity and guidance during the sessions.
Platform9 will be providing the hardware for the lab. However, please ensure that your networks allow outbound SSH connectivity. - There is no cost to participate in the lab.
Introducing vJailbreak:
vJailbreak is a new free tool from Platform9 that discovers your current VMware environment and migrates your VMs, data, and network configurations to Private Cloud Director. See this tool in action on Day 2 where we showcase live migration of your running VMs (with change block tracking and minimum downtime) or offline VMs, with an easy-to-use user interface as well as a powerful underlying API.
Session prerequisites:
Day 1 Schedule -Tuesday, February 11, 2025 at 9 AM PT (2.5 hours)
Day 2 Schedule - Thursday, February 13, 2025 at 9 AM PT (2.5 hours)
EDIT: Never mind, I just went with VmMare Fusion, much easier to share folders with.
I've installed Xubuntu 24.04 on my Macbook Air Retina 2020 1.1 GHz Quad-Core Intel Core i5 with UTM with Apple Virtualization (AV).
Xubuntu runs better and faster with AV than without, e,g. YouTube videos play without lag under AV.
On getting shared folders to work, here's what I've tried so far:
sudo apt-get install libvirt-daemon
sudo mkdir /media/share
sudo mount -t virtiofs share /media/share
But I'm getting this error:
Failed to mount
Error when getting information for file "/media/share": Numerical result out of range.
What else can I do?
I've also tried this:
sudo apt-get install virtiofsd
sudo mount -t virtiofs share /media/share
Same result.
I'm looking to buy a mini PC to run VMs on. I eventually might run 5 or 6 VMs. So I'm thinking I want something with 12 - 16 CPU cores so I can dedicate 2 for each. I also want something that can be upgraded to 64gb ram (Starting at 32 at least). Also 512GB storage is fine. SSD or NVMe seems like a must for this many VMs.
I will be running very lightweight software on each VM. Probably on Windows 10.
Below $700 but preferably around $500 or below.
Also would finding something with 8 CPU cores and dedicating only 1 to each VM be fine? I'm not sure if 1 stronger core can be better than 2 weaker cores.
Tldr - I need
8-16 CPU cores | 512 GB or more SSD/NVMe | 32gb min (upgradable to 64) | Below $700 prefer around $500
MINISFORUM Mini PC https://a.co/d/i0meUXo This seemed like a great option for $500 after $115 coupon + tax
I’m looking to buy a laptop and the best bang for buck one i found has an i5-1335U. It has 2 P-cores and 8 E-cores with 12 threads. For school i need to run a mikrotik router, a windows or debian server and a windows 10 client machine.
My other option is a 6 core ryzen 5, but that one has soldered memory. Is the i5 good enough? Thank you.
ive been trying everything i found on youtube & reddit to fix my problem but my windows 10 vm on virtmanager wont connect to the internet. I have the virtio drivers installed and my host os is Linux Mint. After running windows network diagnostics it said "Ethernet Instance 0" doesnt have a valid IP configuration
i have the default Linux Mint firewall turned on if that matters (i would like to keep this on for security reasons)
i have also tried virtio 0.1.262 & 0.1.266 & they both dont work same result
update: i wanted to see if it was a windows vm / drivers issue so i decided to try to install Kali Linux in virt-manager and i couldnt get passed the network part of the installation, this is the error message i got "Network autoconfiguration failed: Your network is probably not using the DHCP protocl. Alternatively, the DHCP server may be slow or some network hardware is not working properly"
so its safe to assume its my host OS thats the problem? (Linux Mint), anyone have any ideas on what i can do?
Is there any windows software that can make it so that my 3440x1440 monitor is virtualized into two monitors, one 2560x1440 and one 880x1440, that windows will recognize as two separate monitors in the `display` settings?
Olá pessoal tudo bem, espero que sim com toda galera.
Amigos, eu já trabalho algum tempo com servidores virtualizados e nunca tive muitos problemas, até ai ok, mas me encontrei em uma situação que me vi na dúvida, pois estou com disponibilidade de um equipamento HPE Proliant DL380 GEN10 que esta com uma boa configuração de processamento e ram, com isso não quero apenas deixar este equipamento só como controladora principal e servidor Filer Server, pensei em virtualizar o referido para deixar preparado futuras aplicações e não desperdiçar seu poder de processamento apenas como uma controladora de domínio e uso de seus serviços.
Mas também vem meu temor, não sei se vou ter muita dor de cabeça em configurar e gerênciar os armazenamentos criados para compartilhar como FS via SCSI com o Storage MSA 2060, pois o OS do Gerenciador de VMs montou todos os drivers do hardware existe no Servidor Rack HPE.
Explanando mais sobre o sistema de virtualização que vou usar, no caso o XCP, trabalho algum tempo com ele, gosto muito das soluções e tenho experiência com o PROXMOX e o VMWare EXSi (este no caso não tenho licença e nem contrato de melhorias e suporte, dai se tornou inviável) que são bem robustos com o tempo que tralhei com eles e as ferramentas que carregam, mas hoje o XCP é um OS de VM que me mostrou grande estabilidade e facilidade no quesito funcionalidade, desempenho, backup, recuperação e restauração, fora a sua configuração de alta disponibilidade que é incrível.
Faço o poste dividindo minha dúvida e buscando sugestões também.
Desde já agradeço o espaço para compartilhar com os colegas!
It just dawned on me that virtualiztion and distrubuted computing are two sides of the same coin.
Distributed Computing presents a Virtual Machine with a Clock Speed that is higher than any of its constituent real machines through parallel processing.
While Virtualisation , divides the clock speed of real CPU between to two or more self emulation programs each of which is presented as a slower but adequate virtual machine.
DC scales up the clock speed while while Virtualisaion limits the clock speed to the requirement of the container while making the rest of the potential availbale to other containers as a seperate VM.
Or have I oversimplified it?
Is there any banking references ?
So our modern network cards can do all sorts of fancy stuff in hardware. Basically a modern NIC can do all those virtual networks and vlans and vswitches. That functionality is accessed via SR-IOV.
Unfortunately, as far as I can see, this must be configured explicitly, and then passed into a VM like any old PCI-E card. Among other things making HA failover impossible.
So it seems useless to me. Does anyone have experience with that?
Good morning!
I'm running Xen Project on a HP Server with a Intel Xeon CPU.
I would like to emulate a different processor model, how can I do that ?
for example in kvm you can select to emulate a Pentium processor.
is this possible in xen?
thank you!
I have made changes to my web development and programming setup. Several days ago, I installed VirtualBox on a Dell Gaming PC and was impressed (which does not happen often).
So far, I kept:
I have tried Manjaro and although I followed their WIKI instructions, there are issues such as a delayed start which first gives me a black screen, and a minute or two later, a login. Once logged in, it kind of runs but not like Ubuntu and Debian do. So I uninstalled it.
Which Linux distributions do you install, and more importantly, use as a virtual machine? I'd like to find one more in case there are issues with Ubuntu down the road. Thanks! :)
Running $ ./qemu-img.exe covert -f vmdk -O raw input.vmdk output.img
And I get the below error $ qemu-img.exe: error while writing sector 0: input/output error
Anyone have any idea how I can fix? Tried searching it up but no luck
Hi I posted on here before asking for a Proxmox alternative, most of the suggestions they gave me were either super expensive or not really what I'm looking for.
I'm an IT tech at a college, we have a "Lab" which is essentially a room with it's own Lan, where students can kinda do whatever with out most of the college restrictions, I.E. setting up VMs, building computers, servers setting up network equipment, etc.
I'm looking for a solution for KVM VMs for the students, essentially, I'd like a software, preferably free, with a active directory integration which allows me to give users (students) the ability to create their own VMs, like Proxmox, we have a pretty powerful server for this, and worst case ill just cluster 2 of the same servers together if it ever becomes an issue.
The VMs need to be resource limited, aka, 4gb of ram, 2 cpu cores (similar to those free vps online), and I would like to be able to allocate more resources to them in the future, each account needs to be able to make their own VM via a quota type thing.
I would also be open to a Docker like solution, that can be hosted on a dedicated server. The students just need experience with the following: Making a VM from an ISO or template, configuring a VM (Allocating cores, ram, networking or changing storage location), following along with the installation either filling out a premade installer for docker or installing it manually onto a ubuntu or Debian server, and then finally testing their thing they made, this ideally would be up to the student, but something like setting up a NAS software, plex, google photos alternative, just things that people would actually make in a home lab so that they can actually use this knowledge.
I'm thinking TrueNAS Scale because of it's integration with Docker, VMs and Kubernetes. I'm not sure if it's user system can do what I'd like though.
Ideally opensource or from Microsoft (I doubt there is one from them but ill include it anyways). Unfortunately, there's a lot I cannot do, due to the limitations of where I work, and spending £1000+ on a licence for 1 key a year is not one of them lol.
If you couldn't tell I'm not the most knowledgeable about virtualization software, so sorry if parts of what I say doesn't make sense.
I used to use VirtualBox to run Linux VMs for years with no problems, but over time it seems the increasing number of Windows features that use virtualisation have made VirtualBox almost completely useless now. I've just made a brand new VM and installed Xubuntu and immediately it doesn't boot just repeating "soft lockup", and it's a fairly lightweight distribution of Linux not requiring extensive resources.
I've yet to try VMware due to the ongoing problems with the Broadcom takeover. I couldn't even find the download link without searching around. I also assume it will have mostly the same problems as VirtualBox as it still has to run on top of Hyper-V.
Is the only viable option (other than attempting to disable all the Windows virtualisation features) to buy Hyper-V these days since it has direct access to the hardware? Is VirtualBox in "turtle mode" even worth bothering with anymore?
Hello! I have a Desktop that I was running Ubuntu with KVM running a Win10 Guest. However my needs have changed and Win10 is now running on the bare metal. I am now looking for a way to run a VM with direct GPU passthrough. (The Host has a 4080, and there is also a 3080 in the system that I am looking to passthrough to the guest. No need to 'share)
Thoughts?
I am doing my yearly clean install of Windows.
I generally try to keep a very lightweight and debloated Windows environment. But I always end up needing to install a few applications like Visual Studio, Microsoft Office, and the Adobe Suite that run a fuck load of background processes that annoy me.
I also like to run software of questionable security sometimes, like modified or experimental software.
To get to the point, I'm looking for recommendations for something that will let me do the following:
Preserve 3D/GPU performance in VM. Is this even possible? To run lighter games, hardware accelerate Adobe apps, run CUDA apps, etc?
Allow interoperability between host and guest OS as much as possible (clip board sharing, shared directories, etc).
Allow me to easily save the state of VM and restore it. (So I can have a 'clean' VM to test software on and then revert back to clean state.)
Is the built in Hyper-V the way to go?
Should I be looking at sandbox/containerization software instead? Any recommendations there?
My PC is a few years old but I think still pretty good for this stuff. R9 5900x / 64GB DDR4 / 3090.
Thanks!
I'm obsessed, as in obsessive compulsive. Insane need to have everything in perfect order. The creator of 6S's wet dream.
I'd like to do an clean install on VHDX and native boot to it, but don't have any experience on a system with a GPU. I know passthrough inside of a VM on the host machine would be slower, and don't wish to set up this way.
The end goal is different differencing disks I can boot to for different purposes, and to roll back to the parent when I blow the machine up.
Is this possible, with nearly full performance?
Tell me why this is a good idea, and why it is a bad idea please :)
Hi all, Im new to this sub, so im sorry if these are common and stupid questions:
I'm a big vm user, and I was thinking about running a hypervisor on my main desktop (bare metal) and have multiple VMs for different purposes, including daily use. Is that a good idea? If so,
If its not a good idea, why? Would it be better to have a loonix OS on host and run VMs there?
For clarification, i'd like to install a hypervisor without a host OS (if its possible) and when i power on my pc, it goes to the hypervisor console