Does VMWare or any other 'virtualization software' alowe you to set the amount of CPU cores? - testing

I am setting up a testing PC to help find a weired bug on a single core computer. None of the PCs in our office have single core any more.
Can I use VMWare to something similar to emulate a single core PC on a multi-core computer?
Can you emulate a 32Bit version of windows with VMWare on a 64bit PC?

Yes for both questions with VMWare.
You can change the number of CPUs (cores) to allocate for each Virtual Machine. If you allocate just one, you'll have your 1-core machine.
You can install a 32-bit operating system on a 64-bit VMWare host.

Yes. Pretty much all the desktop virtualisation apps default to emulating a single-core 32-bit guest machine. (They may be using multiple host cores to do it.)
VMware and VirtualBox allow multiple cores to be configured and 64-bit guests; VirtualPC currently does not.

Related

How to enable VT-x inside a Virtual Machine inside a Virtual Machine

I have a windows 10 host operating system that supports virtualization. Next, I have an Ubuntu 16.04 virtual machine I created using virtualbox. For development purposes, I need to create a virtual machine inside my guest Ubuntu virtual machine. Unfortunately, I can't enable VT-x option in my guest Ubuntu machine to create a create a virtual machine inside my Ubuntu guest. Any information on how enable VT-x option on my virtual box inside my virtual Ubuntu machine would be appreciated.
Edit: I had that this may be accomplished through PCI Passthrough for VirtualBox. If so please detail how.
Lastly, my problem is similar to this guy's but with exception I can't seem to create an UBuntu32bit box.
Any information on how enable VT-x option on my virtual box inside my virtual Ubuntu machine would be appreciated.
You simply CAN'T.
VT-x is a hardware capability:
In 2006, both Intel (VT-x) and AMD (AMD-V) introduced limited hardware virtualization support that allowed simpler virtualization software but offered very few speed benefits. Greater hardware support, which allowed substantial speed improvements, came with later processor models.
Since VT-x requires hardware capabilities to work, there's no way for the "outer" virtual machine in your nested VMs to provide that capability to the "inner" VM. The "outer" VM doesn't have any actual hardware.
If you have to run a VM inside your VM that requires some of the capabilities that VT-x provides - such as the ability to run a 64-bit OS - you can try QEMU for the "inner" virtual machines. It'll be slower since it's an emulator and not true virtualization, though.

How to do GPU Passthrough with windows 10 host to windows 10 guest (Virtual Machine)

So I have this work computer that I'd like to play fortnite on, but it doesn't have the latest version of directX installed in it so I can't just install fortnite to my flashdrive and play.
So I've been researching on getting a portable Windows 10 Virtual Machine on my flashdrive, which has fortnite installed in the VM. However, apparently Virtual Machines don't utilize the host's GPU by default. I'm trying to find out a way to let the Virtual Machine use the native GPU. I've seen that it's completely doable on a Linux host, but I can't find anything about GPU passthrough on a windows10 host.
Note: my work computer does support VT-d, and it is locked down so I can't do anything to it that requires elevated privileges like installing stuff, changing the BIOS, or booting off an external harddrive.

Difference between virtual machine process and host os process?

Suppose in my pc I have Ubuntu as Host OS. Now I installed a Virtual Machine say VirtualBox (hypervisor) and then deployed a centos and a redhat os inside that as guest OS.
Suppose CentOS and redhat has 2 processes running and Ubuntu is running 3 processes. So following are my questions:
There are how many processes that Ubuntu is having?
Is there any difference between GuestOS and HostOS processes?
If all guestos runs as a process then they will get less time as compared to other process running on host os.
Please clear my doubts here.
Thank you.
Well let me clear your doubts,
First of all there aren't any specific number of process for an OS, its called as cores or threads, technically you can define how many cores or threads you want to use on your virtual machine and it depends on the system configuration you use.
Secondly Guest OS is what you have created in the virtual machine and host is what your laptop or pc actually run. Host OS uses the actual hardware for the working whereas the Guest OS uses the virtual hardware like number of cores and type and size of hard drive defined by the user while adding a virtual machine.
Third, as I mentioned earlier Guest and Host OS works on the configurations used by you, if you user higher amount of cores/ threads in setting your virtual machine the Guest OS will get higher speed.
Ideally the virtual machines are used to test and create some functionality of the Operating Systems without affecting the internal OS, so you can think of it as a your parents house where you can live and grow but at the end you cannot go away from the fact that their contribution is more and so you cannot go beyond their features without leaving it and making your own home.
Linux operating systems are multi-threaded operating system. The host OS would consider virtual box as a thread. You can define number of cores and virtual hard disk size for guest OS by using virtual box.
Since virtual box runs in separate thread and other operations of host OS runs in separate threads, there would be less effect on speed of processing. But I've observed big variances in processing speed in systems which have low memory. Each and every thread needs specific allocation of memory for its smooth operation. So systems having more than 2 GB RAM managed virtual box very well.

Virtualization Options with a non SLAT CPU

I am working on a machine with an older intel CPU (core 2 duo 2.4 Ghz e6600) that doesn't have SLAT and doesn't support Hyper-V.
It is running Windows 8.1 (64 bit) with 4GBs of ram. What software options do I have if I wanted to run a virtual machine, in this case, another instance of Windows (ex. Win 7)?
Am I SOL? Will speed of VM be limited more by ram, cpu, or hard drive in this case?
Thanks,
i think your best option is VirtualBox form oracle, i use it becouse i have the same tipe of procesor, an work really fine for me, the only think you can only instala x86 OS, but anything else works fine.
some spec's for your virtual machines
Windows
Ram 1gb to 2gb, it is fine
procesor one core only
HDD 40gb it almos enough for you want todo (as developer i only use it for testing)
video dont use it unless you need it
linux/unix
Console only
ram 256MB to 512MB
procesor one core only
HDD 40gb it almos enough for you want todo
video is not need here
GUI mode
ram 512MB to 1gb(i recomend use 2gb if your plan to use Ubuntu)
procesor one core only
HDD 40gb it almos enough for you want todo
video dont use it unless you need it
hope help you

VMware player gives Virtualization is incompatible with long mode on this platform

We've physical machine on which several virtual machines are installed using vm player. Now we are trying to install tool on one of these virtual machines, the tool require vm player, so we installed vmplayer 4.0.0 on the virtual machine. But the vmplayer gives error while installing tool like "Virtualization is incompatible with long mode on this platform. Without long mode support the virtual machine will not be able to run 64 bit code.
The visualization option on the physical machine is already enabled.
Any help on this.
I managed to get long mode working in Vmware by uninstalling Virtual PC.
No nesting or something, it simply started working.
I don't think it's possible with VMWare Player on the host since the VT is not virtualized.
According to http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html?m=1
you could do it with VMWare vSphere 5