Error VT-x not available for Vagrant machine inside Virtualbox

You can only use one virtual CPU without VT-x. Thus, the error message stating that VT-x isn’t enabled is caused by the following line: vb.customize [“modifyvm”, :id, “–cpus”, “2”] Replacing it with the following works (Vagrant has a shorthand for setting the CPU count): vb.cpus = 1 NOTE: You can only run 32-bit VMs inside … Read more

How to get VirtualBox 6.0 and WSL working at the same time [closed]

I found it! After much research, and trial and error, here is what enabled me to run VMs in VirtualBox on Windows 10 with Windows Subsystem for Linux installed: In an elevated (admin) cmd.exe or PowerShell, do: bcdedit /set hypervisorlaunchtype off and make sure Hyper-V and Windows Sandbox are disabled in Windows Features (which you … Read more

What exactly do shadow page tables (for VMMs) do?

Shadow page tables are used by the hypervisor to keep track of the state in which the guest “thinks” its page tables should be. The guest can’t be allowed access to the hardware page tables because then it would essentially have control of the machine. So, the hypervisor keeps the “real” mappings (guest virtual -> … Read more

When trying to install OS in Hyper-V, it ignores boot order and goes to “Start PXE over IPv4” instantly

Try disabling Secure boot in the “Security” section of the settings. I had the same problem with a gen2 Linux vm (running in Hyper-V Manager 10.0.17763.1). Turning off “Enable Secure Boot” allowed booting from an .iso. I think in some other versions of Hyper-V Manager the setting is under “Firmware”

How to safely run user-supplied Javascript code inside the browser?

After much consideration and with the help of other posters in this thread (thank you so much for your help!), I found a first bunch of answers to my questions. I am re-writing my answer here though, because it summarizes the concepts and also gives you some actual code to experiment with. Generally, there are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)