kvm to emulate 64 bit cpu on 32 bit host
Public bug reported:
i wish kvm can run 64bit guest os on 32bit host just like qemu does.
** Affects: qemu
Importance: Undecided
Status: New
** Tags: kvm
** Tags added: kvm
Signature · 9 lines
kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
KVM isn't an emulator. It virtualizes the CPU. A 32bit CPU can't be forced to run as a 64bit cpu. This is a wontfix.
Signature · 9 lines
kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
Quoted 4 lines · Iggy
KVM isn't an emulator. It virtualizes the CPU. A 32bit CPU can't be forced to run as a 64bit cpu. This is a wontfix.
qemu actually supports this (32-bit qemu can run a 64-bit guest with kvm, provided that the kernel is 64-bit).
So as well as a wontfix, it's filed in the wrong tracker.
Signature · 1 line
error compiling committee.c: too many arguments to function
Thanks for the request. It's certainly possible with most modern distributions to just install a 64-bit kernel with a 32-bit userspace. Technically speaking, 64-bit guests in a 32-bit kernel is prohibitively difficult.
** Changed in: qemu
Status: New => Won't Fix
Signature · 9 lines
kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Won't Fix Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
VMWare is able to do it, we should be able.
Signature · 9 lines
kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Won't Fix Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
Quoted 1 line · Natalia Portillo
VMWare is able to do it, we should be able.
They do it like TCG does it, not like KVM.
Paolo
Quoted 4 lines · Paolo Bonzini
Quoted 1 line · Natalia Portillo
VMWare is able to do it, we should be able.
They do it like TCG does it, not like KVM.
I heard rumours VMWare use KVM-style chip virtualisation when running a 64-bit guest on a 32-bit host kernel on 64-bit hardware.
If true, that makes particular sense for Windows host users, who can't just drop in a 64-bit host kernel without breaking their userspace thoroughly. (If it was that easy, 64-bit Windows wouldn't use a surruptitious VM to run 32-bit apps :-).
It seems like a good way for Windows users to run a single 64-bit app on an otherwise 32-bit system that's working fine.
On Linux hosts I would expect you can drop in a 64-bit kernel, while continuing to run a 32-bit userspace. But I don't know if (a) that's entirely true, and (b) if distro packaging blocks that sort of thing from being easy.
Unfortunately even that doesn't help people who just want to run a 64-bit VM as an ordinary user and aren't permitted to change their Linux host kernel, e.g. a shared system, or some rented servers.
-- Jamie
A message that is not in the archive (sent off-list or not yet received): 3425203.2261276981549347.JavaMail.acathrow@aic-desktop.cathrow.org
Quoted 6 lines · ----- "Natalia Portillo
From: "Natalia Portillo" <[email protected]>
To: [email protected]
Sent: Saturday, June 19, 2010 9:01:04 AM GMT -05:00 US/Canada Eastern
Subject: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit hostVMWare is able to do it, we should be able.
VMware can't do that!
To run a 64bit guest on VMware you need 64bit hardware and VT/AMD-V
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003945
Quoted 15 lines
Signature · 10 lines
-- kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Won't Fix Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
Quoted 10 lines · Andrew Cathrow
Quoted 5 lines · ----- "Natalia Portillo
From: "Natalia Portillo" <[email protected]>
To: [email protected]
Sent: Saturday, June 19, 2010 9:01:04 AM GMT -05:00 US/Canada Eastern
Subject: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
Quoted 5 lines
Quoted 1 line
VMWare is able to do it, we should be able.
VMware can't do that!
To run a 64bit guest on VMware you need 64bit hardware and VT/AMD-V
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003945
You got the point wrong, I'm talking running WITH 64 bit hardware in a 32 bit guest.
This is done in Mac OS X Leopard (kernel is only 32 bit) and Mac OS X Snow Leopard (using 32 bit kernel not 64 bit one) by VMWare, Parallels and VirtualBox, as well as on Windows 32 bit using VMWare (dunno about VBox and Parallels, VirtualPC is unable to run 64 bit guests at all even on 64 bit hosts), just provided of course, the hardware is 64 bit.
Quoted 15 lines
Quoted 15 lines
Signature · 10 lines
-- kvm to emulate 64 bit cpu on 32 bit host https://bugs.launchpad.net/bugs/596106 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Won't Fix Bug description: i wish kvm can run 64bit guest os on 32bit host just like qemu does.
Quoted 8 lines · Natalia Portillo
You got the point wrong, I'm talking running WITH 64 bit hardware in a 32 bit guest.
This is done in Mac OS X Leopard (kernel is only 32 bit) and Mac OS X Snow Leopard (using 32 bit kernel not 64 bit one) by VMWare, Parallels and VirtualBox, as well as on Windows 32 bit using VMWare (dunno about VBox and Parallels, VirtualPC is unable to run 64 bit guests at all even on 64 bit hosts), just provided of course, the hardware is 64 bit.
Ah yes, Mac OS X too.
Apart from breaking userspace, the other reason people stick with 32-bit host kernels on both Windows and Macs is the 64-bit device drivers often don't work properly, or aren't available at all. They continue to improve, but still aren't as mature and dependable as 32-bit drivers.
This is also true of Linux 64-bit kernels - both bugs and unavailable third party drivers/firmware. (But less so than the other OSes.) So even with Linux people cannot assume dropping in a 64-bit host kernel is always free of kernel/driver issues.
Marking this feature request "won't fix" is just a statement that KVM developers aren't inclined to support this feature.
But there's nothing to stop an interested contributor having a go. I'm sure if it works and the code is clean enough it will be accepted.
Quoted 2 lines
VirtualPC is unable to run 64 bit guests at all even on 64 bit hosts
Are you sure? Microsoft provides numerous downloadable 64-bit guest Windows images, and VirtualPC is Microsoft's; they must be running on something.
-- Jamie
Quoted 1 line · Paolo
They do it like TCG does it, not like KVM.
You are wrong, and it's easy to check as the speed is almost native. Having emulation would make it slow as hell.
Quoted 8 lines · Jamie
Quoted 3 lines
VirtualPC is unable to run 64 bit guests at all even on 64 bit hosts
Are you sure? Microsoft provides numerous downloadable 64-bit guest Windows images, and VirtualPC is Microsoft's; they must be running on something.
That may be in Windows Virtual PC (that requires VT and Windows 7 Ultimate/Professional, and is a feature of that OSes not a separate product) or Hyper-V (again, requires VT and is a feature of Windows 2008 Server), but not on the standalone Microsoft Virtual PC 2007.
It is fully possible to run 64-bit code in a 32-bit kernel, Mac OS X Leopard does that all the way without problems, and VMWare found how to do the trick with the NT kernel.
The question is not "is it possible to make KVM run 64-bit code in a 32-bit kernel?" (it is), the question is, "the people in charge of KVM want to add this feature?".
Personally I don't believe so, neither I am on the "do it" side, I'm just saying it is technically possible.
Natalia Portillo