/r/virtualization

Photograph via snooOG

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!

General Rules

  • 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.


Useful URLs

More to follow soon! Please let us know what you'd like to add!


Related Subreddits

/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/VFIO

/r/platformengineering - building a better base


Nomenclature

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

23,991 Subscribers

0

HELP! low fps in virtual machine

Hey guys i got a bit of a problem here.i passthroughed my 166ti in xcp-ng with vgpu and i only get 5fps in games, and the gpu only get utulized around 25%, and cpu around 35%.i tried everything and im going mad trying to figure out why.
specs may help:
cpu r5 3600

ram Kingstone 2400mhz 16gb

motherboard: Asrcok Rack b550d4m

the vm has 10gb ram 8threads and the 1660ti

1 Comment
2024/10/31
11:11 UTC

2

Mid budget pc for VM

What could be a mid budget for pc that Will run like 2-3 vm at same time, basic vm with Windows with basic apps like chrome, vlc. Sometime the pc Will be use to stream with plex when not doing virtualization. Not a gamer.

I read that AMD processors are better. For what you want to do, would 8 cores be enough? Like the ryzen 7 5800x? Want a cpu with gpu so maybe 5700G or 5600GT? The mem Will be 32Go

2 Comments
2024/10/29
22:22 UTC

5

Which Virtualization is better?

Hi everyone,

I just had a quick question, which VM is better between VMware or VirtualBox? In terms of home lab. I know this may be a personal choice but I just wanted to know if one is better than the other. Thank you in advance.

18 Comments
2024/10/29
15:14 UTC

2

Join us on Nov 12th & 14th for the next 0-60 with OpenStack: A Hands-On Lab

Join for this interactive lab session: Platform9 will host the next 0-60 with OpenStack: A Hands-On Lab on Nov 12th and 14th.

This hands-on lab is designed for VMware administrators who are considering KVM / OpenStack as an alternative hypervisor, but are either new to OpenStack or are concerned about the complexity of operating OpenStack. Engineers from Platform9 and iShift - many of whom worked at VMware or have extensive experience using VMware - will be running these labs. 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 provide the hardware for the lab. However, please ensure that your networks allow outbound SSH connectivity.

There is no cost to participate in the lab.

Session prerequisites:

  • One or more VMware administrators who are looking to get hands-on experience with KVM and OpenStack
  • Must be able to participate in both lab sessions—2.5 hours each day over 2 days.

Day 1 Schedule - Tuesday, 12 November, 2024 at 9 AM PT (2.5 hours)

  • 30 mins: Configuring physical server OS, networking
  • 30 mins: Deploying OpenStack control plane via Platform9, bringing servers under management
  • 30 mins: Configuring server roles and networking in OpenStack
  • 30 mins: Deploying your first VM on KVM
  • 30 mins: Migration considerations/demo (iShift)

Day 2 Schedule - Thursday, 14 November, 2024 at 9 AM PT (2.5 hours)

  • 30 mins: VM live migration, HA, and workload rebalancing
  • 30 mins: Configuring block storage, storage classes, and backup options
  • 30 mins: Enabling self-service and multi-tenancy (VDC equivalent)
  • 30 mins: Deploying Kubernetes
  • 30 mins: SDN advanced features and capabilities
1 Comment
2024/10/29
05:55 UTC

1

UTM shared network not routing to other VMs

I've been trying to figure out a solution to this problem for a couple hours now but I'm starting to lose hope. According to this video VMs in UTM should be able to ping each other if they use "Shared Network" in the VM settings. For me this doesn't work though.

Setup:

Host: Macbook Pro M2 macOs Sonoma 14.7

Virtualisation Software: UTM 4.1.5

VM1: Kali Linux 192.168.64.3

VM2: Ubuntu Server 192.168.64.10

I can ping 192.168.64.1 from either of the machines. I can also ping both machines from the host. When I run wireshark on the host on the bridge100 interface I can see the icmp messages like normal. But when I try to ping 192.168.64.3 from 192.168.64.10 or the other way around it doesn't work. In wireshark I see ARP requests asking who has that IP address but no ARP response. I ran wireshark on the VMs aswell and was able to verify that there is no ARP request coming in.

I did try turning off firewalls but that didn't help and it doesn't make much sense anyway because the ping from and to 192.168.64.1 works fine. So my conclusion is that UTM is somehow blocking the connection between those two VMs.

Did anyone have similar issues before? What else can I try?

PS: Watching more of that youtube video I also just realized that this guy has way more network settings than my UTM installation. I only have bridged and shared network. His has host only and emulated vlan aswell. I just uninstalled UTM and downloaded the payed version from the Mac Appstore and I still only have the two options. I'm really lost here.

0 Comments
2024/10/26
22:51 UTC

3

Is there a cloud virtual desktop with a free trial without charging upfront?

I searched but all I found is sites that want to charge you upfront or hold the credit. Is there one that can be used with an empty prepaid card? I need a ready-made virtual desktop where I can run a browser, windows or linux.

4 Comments
2024/10/25
20:52 UTC

1

Audio is gone on Host Machine (No VM is even created yet)

I am using Windows 10 as the host operating system and encountering an issue with both VMware and VirtualBox. My audio device is an IEM connected to a Conexant CX31993 USB-C DAC, which is plugged into a USB hub via a USB-C to USB adapter.

The problem arises immediately after I launch either of the virtualization software (No VM is created yet). The audio cuts out, and while replugging the USB DAC makes the sound briefly return, it disappears again almost instantly.

Has anyone experienced something similar or have any suggestions for a solution?

2 Comments
2024/10/21
03:00 UTC

1

How to delete the space that VM takes up on my C drive (VM is located on D drive)?

I use oracle VM virtual box manager and I run a win 7 vm with 3gb of base memory and 40gb of space.

All the VM files are located on the D drive, however when I launch the VM and use it for a while my c drive goes from 20gb of empty space to 15 or 10gb.

Previously I read that this happens when the VM doesn't have enough ram memory allocated to it then it starts saving files to the C drive to free up the ram for it to function. However, now I have updated my ram and this still happens.

The worst part is that I do not know where exactly is the 5-10gb stored or what happened. I suspect its the pagefile.sys, which I think grew after using the VM usage but even if it was the case, I read that the pagefile.sys should not be deleted and cannot be directly managed.

Did anybody else have problems with this or knows how I could delete whatever space the VM took up on the C drive after I am done using it?

5 Comments
2024/10/20
20:12 UTC

3

UTM - win 7 on M1 how to share files

Hi there,

I got a win 7 VM on my M1 MacBook.

I can't figure out how to share files I have in my host to the VM.

Any suggestions?

1 Comment
2024/10/20
12:27 UTC

2

No virtualization in BIOS on my ASUS laptop

I need to disable virtualization to reach better performance on LD 9.0 player and in my BIOS I can’t find it anywhere. Bios in advanced settings is limited, there is not even “configuration CPU option”. Any advice? Thanks

7 Comments
2024/10/18
18:34 UTC

1

Android 13 (Samsung A32 5G)

My system:
Android 13 - UI: 5.1

I have 2 questions regarding virtualization. I want to virtualize my phone to my PC so I can run it there instead. I need to give back the phone. Is there any way to transfer all Apps and Games and Contacts so they are fully functional on my PC?
I know of these emulators to install Android...but how to I get an exact fully working copy of my phone apps and games to continue on my PC??
I would prefer the FREE option of doing it

So,

  1. Is it possible to move Apps n Games to an Android on my PC?
  2. Is it possible to virtualize my phone to a VM (Virtual Machine)? (...like one can do with P2V converter for a live PC to a virtual machine)

I'm a tech guy, but I have no knowledge about virtualization of phones and haven't been able to find something online which describes how to do this.
Can you guide me please?

1 Comment
2024/10/18
09:47 UTC

2

Virt-Manager: Heavy graphic glitches when using 3D acceleration

Hi there,

I have a peculiar problem with my VMs. Whenever I enable hardware acceleration with virtio, the graphics output gets scrambled:

This is how it's supposed to look (picture taken without 3D acceleration enabled):

Debian 12 Live ISO without 3D acceleration enabled

The actual output with 3D acceleration looks like this however:

Debian 12 Live ISO with 3D acceleration enabled

The only difference between the two screenshots is that in the second, the option "3D acceleration" (under Video Virtio) as well as the corresponding "Listen type" value "none" (under Display Spice) is set.
Every other is setting is left on default, safe for changing firmware to UEFI in the initial install dialog.

My system:

CPU: Intel Ultra 155H with Intel Arc Graphics
RAM: 64 GB DDR5 SO-DIMM
SSD: GOODRAM 2TB PCIe 4.0 NVME

OS: Arch Linux with up-to-date regular Kernel Linux 6.11.3-arch1-1.
DE: KDE Plasma 6.2 on Wayland

Libvirt, virt-manager, virt-install etc. are all up-to-date, as are Intel Graphics packages.

I'd be happy for any advice! Thanks in advance!

1 Comment
2024/10/17
22:35 UTC

0

help deciding between Hyper V, Virtualbox or Docker

So I got Win10 Pro pc, running on AMD Ryzen 7 2700x 8core, 3700 Mhz, 16gb RAM, 500gb SSD.

And I need to run 1-2 VMs/containers on it :

  1. Say #1 will be "saved instance of win10 or 11 or Tiny10 or Tiny11" - but it'll be used in same config ever so often and #2 would be say throwaway instance/s- could be deleted/refreshed ever so often, as I may run apps that are considered "security risk".
  2. In #1 VM, will run heavy web-browsing, 30-40 tabs sessions concurrently. #1 VM must emulate 100% h/w and s/w fingerprints of a "Windows Laptop" with std. HD res display.

Now, I'm a real noob! but have installed Hyper-V before and worked with it.

Then I read that Docker makes it "much less resource intensive" (less ram and less GB storage) than any VM (like VM workstation). Even in windows and that containers are quick to start and stop. So that's the main reason why I was considering to get docker up and running link . I'm running into some issues in that linked posting

Could ppl here opine on which would be the best option - least RAM intensive and least duplicative (GB storage) running my use case on my current PC - spec details here - link

  1. Windows on Docker on my Win10PC
  2. Hyper V
  3. VM ware workstation player OR Pro
2 Comments
2024/10/17
19:23 UTC

1

Vms not working on qtemu

So I installed qtemu and qemu but I can't boot the os they are not starting any fix ?

5 Comments
2024/10/15
21:45 UTC

1

Compartmentalizing Performance Demanding Applications

I have run into an issue: I need Adobe apps, but I don't want them on my computer due to the Creative Cloud's malware-like nature. A solution would be using a VM, like Virtualbox, VMware, or Hyper V. However, I have found them all to massively affect performance to the point where it's unviable to use, Hyper V being the best performer. I have heard of using Docker or Sandboxie for containing apps, but I'm not sure where to turn exactly and I'd like to save time, so if anyone has any pointers on how I can compartmentalize Adobe applications away from the rest of my system while still maintaining high performance, I would appreciate it.

1 Comment
2024/10/15
20:31 UTC

2

GPU passthrough on windows host

Hey guys, my goal here is to pass the entirety of a GPU to a windows VM and maintain the other GPU on the windows host.

I have two graphic cards, a RTX 2070 and a GTX 1060. I want to set the 2070 as my main card for everything on the host but also be the card that I pass to the VM, when the card is passed the 1060 would become the main card on the host temporary untill I close the VM.

I saw here that I need a windows server version and other people say that it's not necessary. It doesn't matter to me which version to use, the problem is that I don't know how to pass the 100% of the 2070 to the VM, set the 1060 as the main card for the host and do the opposite thing when the VM is closed

Also I don't have integrated graphics because I have a Ryzen 5 5600X. I don't know if that was relevant, just in case

2 Comments
2024/10/15
15:08 UTC

2

Will the 285K's iGPU be able to accelerate a VM given the host has a standalone GPU ?

I'm interested in the new intel CPU because of its integrated GPU. However I never did passthroughs in the past and I'm wondering whether I will be able to configure a VM to be accelerated by the iGPU given the host has a standalone GPU.

1 Comment
2024/10/13
17:59 UTC

3

1 Template for virt-install for testing distros?

Are there public templates for virt-install for creating proper VMs for different "profiles", e.g. "gaming, "headless", "desktop", etc.? I've gone through some documentation but it seems daunting with all the arguments that I can't be sure everything is configured correctly. Not even sure if what I'm optimizing for is appropriate.

Basically, I would like to create 2 types of VMs: 1) a minimal VM for testing server distros to run Ansible on for learning and reproducing a desired state and 2) a performant VM that I can actually use as if I'm using a typical desktop (i.e. reduced latency, more disk activity, and I might want to share storage with the host system).

For the latter, is the following appropriate and can it be improved? I used virt-builder to pass in a base image for virt-install to run, thought virt-builder doesn't support some distros:

virt-install \
  --name "$hostname" \
  --os-variant "$osinfo" \
  --virt-type kvm \
  --arch x86_64 \
  --cpu host-passthrough \
  --vcpus="$vcpu" \
  --video virtio \
  --graphics spice,listen=none \
  --memory "$memory" \
  --disk path="${img_name},format=qcow2,bus=virtio,cache=writeback" \
  --sound none \
  --channel spicevmc \
  --channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
  --console pty,target.type=virtio \
  --network type=default,model=virtio \
  --controller type=virtio-serial \
  --controller type=usb,model=none \
  --controller type=scsi,model=virtio-scsi \
  --input type=keyboard,bus=virtio \
  --rng /dev/urandom,model=virtio \
  --noautoconsole \
  "$virt_install_arg"

It's intended to be as minimal as possible and also use virtio as much as possible for performance. The VM is stored on Btrfs filesystem and in VM I also intend to run Btrfs filesystem to replicate host install (the goal is to learn Ansible to be able to replicate my existing install and also test distros).

Any comments much appreciated.

0 Comments
2024/10/12
03:32 UTC

2

Machines for students to learn on

My goal is to allow each student in my class to have their own VM they can SSH into remotely and experiment and explore. I have several desktops that are decently powerful, but I'm wondering what the process is like for setting up multiple users on one machine.

Can you list recommended software / resources? I'm new to virtualization, but need to learn to be able to teach. Thanks.

3 Comments
2024/10/11
18:16 UTC

2

Virtualizing Debian on virtualized Proxmox

Hello, In my physical machine (Windows 11) I am virtualizing Proxmox with Virtual Box, and in Proxmox I want to virtualize Debian, the problem I have is that it does not boot the operating system already installed, the iso let me install debian but at the time of ejecting the system, it gets stuck (image 1), is there any way to solve this problem?

characteristics of my physical machine

Product Name: GF63 Thin 11UC

OS: Microsoft Windows 11 Home 64 bits Ver.2009(OS build 22631.4317)

CPU: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz

Memory: 16 GB @ 1600 MHz

  • 8192 MB, DDR4-3200, Samsung M471A1K43EB1-CWE

  • 8192 MB, DDR4-3200, Samsung M471A1K43EB1-CWE

Graphics: Intel(R) UHD Graphics, 128 MB

Graphics: NVIDIA GeForce RTX 3050 Laptop GPU, 3965 MB

VBIOS Version: 94.07.4e.00.4b

These are my configurations

https://preview.redd.it/tfmbguq2q2ud1.png?width=1919&format=png&auto=webp&s=38557906cb94d5ebfdfce87166c9f980d25581f6

https://preview.redd.it/c3fr76w6q2ud1.png?width=1919&format=png&auto=webp&s=d85d8b8ca19bcef5425f2d8960c09d18922baabe

https://preview.redd.it/lalp0ch9q2ud1.png?width=1919&format=png&auto=webp&s=ac030ef0ddacb610112ddef9b40331836ee2b4c1

https://preview.redd.it/3p7kyo8dq2ud1.png?width=1907&format=png&auto=webp&s=dfc8103c54d45cf8e63fa5677044533c01885539

0 Comments
2024/10/11
06:51 UTC

2

Laptop recommendation for 4 to 5 vms

Hi everyone,

I am in need of a laptop that will be used mainly for virtual machines. I intend to run the following vms:

  1. Virtual Firewall
  2. AD with or without CA server
  3. Web Server
  4. Test pc
  5. 2nd test pc

I was hoping you could suggest some brand or specific model that I can buy modern or old models will do as long it can support my environment. The reason for needing laptop is that I travel a lot and remote access is not possible on my situation.

My budget is around 1,300 usd

Thanks in advance!

6 Comments
2024/10/11
05:49 UTC

1

Virtualization PC for beginners

Hello, I have just started a course of study where I need to work on VM Workstation. I thought about getting a new PC, does this one seem suitable for making small structures?

Thank you in advance for your attention, and for your responses and advice.

13 Comments
2024/10/10
08:27 UTC

3

Starting UTM is disconnecting WiFi on host machine

My host machine is an M3 Macbook Pro, I'm running Windows 11 on UTM. It was working fine but today for some reason when I start up UTM, the WiFi on my host machine will disconnect; I'm able to repeat this.

I looked at the Network settings and when it's set to Bridged, this issue happens. When the virtual machine starts up, I can see the ethernet icon at the bottom try to connect but eventually it'll turn off. If I select a different option such as shared, then it doesn't happen but I don't have internet on the virtual machine.

No software updated recently on my host machine or on the virtual machine so I'm not sure why this is happening now.

1 Comment
2024/10/09
01:18 UTC

0

Virtualizer options for debian server service

Hello everyone, I would like your recommendations on virtualizers to emulate debian on my physical windows 11 machine, as I want to simulate DHCP servers, Web Server and DNS; other than these

-Promox

-Hyper V

-VMware Workstation Pro

-VirtualBox

-Kvm

-Qemu

(Why omit these options, for academic reasons I was forbidden)

Preferably I would like the virtualizer to be a Windows software, (as Virtual Box works) and avoid .iso virtualizers.

I hope you can help me, please.

6 Comments
2024/10/08
15:20 UTC

7

Hyper-V guest performs immensely worse than VMware guest on same hardware

I use Hyper-V for testing out Windows Insider Previews, as it allows me to use the VHDX for native booting, so I can test them out on real hardware. I use VMware for testing literally anything else that I don't want to use on my host, as Hyper-V is just too slow. I'm confused as to how this can be, since I thought I heard type 1 hypervisors are supposed to more performant than type 2 since they have more direct access to bare metal hardware.

For perspective, I have VMware running on the Windows Hypervisor Platform, and the VMware guest is on an external HDD (with write-caching enabled). My Hyper-V guest is on my NVME drive. All this and the VMware guest still runs miles better than my Hyper-V guest. I also have a GPU partition attached to the Hyper-V guest, in case that matters. And I do have more stuff running in the background of that Hyper-V guest, but it's all stuff that sit idle and shouldn't cause 100% CPU usage.

I'm not sure if anyone will be able to give me answers, but I'm curious if anyone else has these issues at least.

This is my CPU graph in my Hyper-V VM:

https://preview.redd.it/gti3d2xjjgtd1.png?width=1022&format=png&auto=webp&s=69afb9716be601eea38cec1e8b85e27595bfade4

And here it is in my VMware VM:

https://preview.redd.it/6oqdrkp9kgtd1.png?width=925&format=png&auto=webp&s=d445b1e5285fdc7fec486e32c0973dbbe1c3f70c

5 Comments
2024/10/08
04:40 UTC

6

Best VM for Running Ubuntu on Base M1 MacBook Air

I vastly prefer Mac for everyday use (and all development projects till now) but I need a way of running linux locally for the next few months for some kernel development. Which would be the best VM to use? Features I am looking for are clipboard sharing, shared folders, and best performance possible.

I am running a 8gb Ram, 256 gb ssd base m1 MacBook Air. I know ideally, I would need a more powerful system to run a vm with seamless performance but that is not an option right now.

9 Comments
2024/10/06
22:55 UTC

3

What (type 2) hypervisor I should use for analyzing malware? (Windows)

I'm used to using VMware Workstation with https://github.com/hzqst/VmwareHardenedLoader however due to what happened to VMware I think it might be worth changing hypervisor.

There's https://github.com/hfiref0x/VBoxHardenedLoader for VirtualBox which isn't in development for a year (to be fair, VMware loader didn't receive any updates in 2 years) and perhaps more I know nothing about.

Any suggestions?

3 Comments
2024/10/06
18:22 UTC

3

vhdx native boot

Hello, I'm looking for some solution to have 2-3 W11 installs.

I tried creating vhdx to create additional boot option and it looked it could work well for me. But my dream setup would be no "host/main" os but empty disk with several vhdx files.
Is this possible? If so, if I set up the first one, basic setup, drivers, updates, ... can I then just copy the file 2-3 times and add boot options them with bcdboot and continue from there to setup each separately?

Or maybe there is better solution that I'm not aware of?
Maybe this is not the best subreddit to ask this?

1 Comment
2024/10/06
09:28 UTC

0

Virtualization software that allows you to drag and drop files directly from one VM to another VM?

I am looking for Virtualization softwares that allow you to easily drag and drop files between VM and that run on Windows OS.

Any good suggestions?

14 Comments
2024/10/04
17:17 UTC

2

Trying to find possible Interview questions for my boyfriend...

Hello everyone my man has been appearing for job interviews recently and I would like to help him with possible interview questions for the same. He has 13 yeas of experience and his Linkedin profile lists following skills :

  1. Virtualization expert.

  2. NUTANIX

3.VMWARE

4.ACCOPS

5.HYPER V

6 .AZURE

7.Failover Cluster ESXI

8.V-Center

  1. SCVMM

I would really appreciate if someone could suggest some resources, mock tests and relevant interview questions according to his profile as mentioned above.

PS- I work in field of Civil construction hence our work portfolios are poles apart and my skills are of no use for him...

0 Comments
2024/10/04
10:52 UTC

Back To Top