Anyway Virtual x64 without Vt-x?

Kernels & Hardware, configuring network, installing services

Anyway Virtual x64 without Vt-x?

Postby bester69 » 2017-12-01 16:53

Is there any way to virtualizace x64 without hardware Intel VT-x?
I cant understand why can virtualize a 32 bits with a 32bits, and cant do same for 64bits. Anyway, is there any way to bypass VT-x requirement, and do some kind of software virtualization emulation?. I heard about Xen not needing VT-x , but I dont want to use hypervisor, I wanna work with virtual machine within the guest like with virtualbox... Is there any virtual software can manage this..? :?

thanks.
User avatar
bester69
 
Posts: 987
Joined: 2015-04-02 13:15

Re: Anyway Virtual x64 without Vt-x?

Postby GarryRicketson » 2017-12-01 17:03

"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4466
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Anyway Virtual x64 without Vt-x?

Postby pylkko » 2017-12-01 20:33

The answer depends on other facts. For example, is the 32-bit host OS running on a processor that is 64-bit capable or not? If the OS is 32-bit on a 64-bit machine, then I believe you can use many of the traditional platforms out of the box, because the needed instructions exist on the host CPU (haven't tried though).

You can, however, run virtual machines of foreign architecture emulated with qemu for example. I have run ARM virtual machines on amd64 Debian this way. Of course the performance will not be as good as when using hardware-assisted technologies like VT-x. qemu can also perform CPU emulation for a user space program (non-operating system).
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02

Re: Anyway Virtual x64 without Vt-x?

Postby bester69 » 2017-12-02 11:12

pylkko wrote:The answer depends on other facts. For example, is the 32-bit host OS running on a processor that is 64-bit capable or not? If the OS is 32-bit on a 64-bit machine, then I believe you can use many of the traditional platforms out of the box, because the needed instructions exist on the host CPU (haven't tried though).

You can, however, run virtual machines of foreign architecture emulated with qemu for example. I have run ARM virtual machines on amd64 Debian this way. Of course the performance will not be as good as when using hardware-assisted technologies like VT-x. qemu can also perform CPU emulation for a user space program (non-operating system).


Thanks for help pylkko,
My computer (Extensa5230) is 64bits, and seems doesnt support hardware VT-x virtualization, I just would like to be able to virtualize am64 linux distros, VIrtualbox cant do it. Can i use qemu or other one, i really dont know very much out of virtualbox/vmware?? , I would like something easy if possible..
User avatar
bester69
 
Posts: 987
Joined: 2015-04-02 13:15

Re: Anyway Virtual x64 without Vt-x?

Postby pylkko » 2017-12-03 19:09

I haven't done it so I can't claim that I know for sure. But you can in virt-manager pass through the host CPU as is, I believe. Normally it doesn't do this but analyzes the hardware and then uses a ideliazed abstract CPU description that is close to the capabilities of the host. I think this is done for portability, so that you can more easily move the virtual machine from one computer to another.

If you pass through the CPU to a Linux install it should see the computer as any other booted linux. Install virtmanager and try it. I think that in your case it will either work with no additional problems or it will work with some passthrough setting. I believe this should work without vt-x as qemu does not require hardware assistance when doing emulation only, although it can use it with KVM.

Emulation is much slower.

But why do you want to do this?

Are you sure you can't do with multiarch
https://askubuntu.com/questions/513260/ ... it-machine
User avatar
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable