* [Qemu-devel] [Bug 596106] [NEW] kvm to emulate 64 bit cpu on 32 bit host
@ 2010-06-18 22:15 dennyhalim.com
2010-06-18 22:53 ` [Qemu-devel] [Bug 596106] " Iggy
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: dennyhalim.com @ 2010-06-18 22:15 UTC (permalink / raw)
To: qemu-devel
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
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-18 22:15 [Qemu-devel] [Bug 596106] [NEW] kvm to emulate 64 bit cpu on 32 bit host dennyhalim.com
@ 2010-06-18 22:53 ` Iggy
2010-06-20 13:21 ` Avi Kivity
2010-06-18 23:18 ` Anthony Liguori
2010-06-19 13:01 ` Natalia Portillo
2 siblings, 1 reply; 11+ messages in thread
From: Iggy @ 2010-06-18 22:53 UTC (permalink / raw)
To: qemu-devel
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.
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-18 22:15 [Qemu-devel] [Bug 596106] [NEW] kvm to emulate 64 bit cpu on 32 bit host dennyhalim.com
2010-06-18 22:53 ` [Qemu-devel] [Bug 596106] " Iggy
@ 2010-06-18 23:18 ` Anthony Liguori
2010-06-19 13:01 ` Natalia Portillo
2 siblings, 0 replies; 11+ messages in thread
From: Anthony Liguori @ 2010-06-18 23:18 UTC (permalink / raw)
To: qemu-devel
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
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-18 22:15 [Qemu-devel] [Bug 596106] [NEW] kvm to emulate 64 bit cpu on 32 bit host dennyhalim.com
2010-06-18 22:53 ` [Qemu-devel] [Bug 596106] " Iggy
2010-06-18 23:18 ` Anthony Liguori
@ 2010-06-19 13:01 ` Natalia Portillo
2010-06-20 10:01 ` [Qemu-devel] " Paolo Bonzini
2 siblings, 1 reply; 11+ messages in thread
From: Natalia Portillo @ 2010-06-19 13:01 UTC (permalink / raw)
To: qemu-devel
VMWare is able to do it, we should be able.
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
[not found] <3425203.2261276981549347.JavaMail.acathrow@aic-desktop.cathrow.org>
@ 2010-06-19 21:12 ` Andrew Cathrow
2010-06-19 23:21 ` Natalia Portillo
0 siblings, 1 reply; 11+ messages in thread
From: Andrew Cathrow @ 2010-06-19 21:12 UTC (permalink / raw)
To: Bug 596106; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
----- "Natalia Portillo" <claunia@claunia.com> wrote:
> From: "Natalia Portillo" <claunia@claunia.com>
> To: qemu-devel@nongnu.org
> 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
>
> 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
>
> --
> 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.
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1225 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-19 21:12 ` [Qemu-devel] " Andrew Cathrow
@ 2010-06-19 23:21 ` Natalia Portillo
2010-06-20 13:46 ` Jamie Lokier
0 siblings, 1 reply; 11+ messages in thread
From: Natalia Portillo @ 2010-06-19 23:21 UTC (permalink / raw)
To: Andrew Cathrow; +Cc: Bug 596106, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]
El 19/06/2010, a las 22:12, Andrew Cathrow escribió:
>
>
>
>
> ----- "Natalia Portillo" <claunia@claunia.com> wrote:
> > From: "Natalia Portillo" <claunia@claunia.com>
> > To: qemu-devel@nongnu.org
> > 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
> >
> > 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.
> >
> > --
> > 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.
> >
> >
> >
> >
[-- Attachment #2: Type: text/html, Size: 3907 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] Re: [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-19 13:01 ` Natalia Portillo
@ 2010-06-20 10:01 ` Paolo Bonzini
2010-06-20 13:31 ` Jamie Lokier
0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2010-06-20 10:01 UTC (permalink / raw)
To: Bug 596106; +Cc: qemu-devel
On 06/19/2010 03:01 PM, Natalia Portillo wrote:
> VMWare is able to do it, we should be able.
They do it like TCG does it, not like KVM.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-18 22:53 ` [Qemu-devel] [Bug 596106] " Iggy
@ 2010-06-20 13:21 ` Avi Kivity
0 siblings, 0 replies; 11+ messages in thread
From: Avi Kivity @ 2010-06-20 13:21 UTC (permalink / raw)
To: Bug 596106; +Cc: Iggy, qemu-devel
On 06/19/2010 01:53 AM, Iggy wrote:
> 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.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Re: [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-20 10:01 ` [Qemu-devel] " Paolo Bonzini
@ 2010-06-20 13:31 ` Jamie Lokier
0 siblings, 0 replies; 11+ messages in thread
From: Jamie Lokier @ 2010-06-20 13:31 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: Bug 596106, qemu-devel
Paolo Bonzini wrote:
> On 06/19/2010 03:01 PM, Natalia Portillo wrote:
> >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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-19 23:21 ` Natalia Portillo
@ 2010-06-20 13:46 ` Jamie Lokier
2010-06-20 14:08 ` Natalia Portillo
0 siblings, 1 reply; 11+ messages in thread
From: Jamie Lokier @ 2010-06-20 13:46 UTC (permalink / raw)
To: Natalia Portillo; +Cc: Bug 596106, Andrew Cathrow, qemu-devel
Natalia Portillo wrote:
> 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.
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 596106] Re: kvm to emulate 64 bit cpu on 32 bit host
2010-06-20 13:46 ` Jamie Lokier
@ 2010-06-20 14:08 ` Natalia Portillo
0 siblings, 0 replies; 11+ messages in thread
From: Natalia Portillo @ 2010-06-20 14:08 UTC (permalink / raw)
To: Bug 596106; +Cc: qemu-devel
Paolo said:
> 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.
Jamie said:
>
>> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-06-20 14:09 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 22:15 [Qemu-devel] [Bug 596106] [NEW] kvm to emulate 64 bit cpu on 32 bit host dennyhalim.com
2010-06-18 22:53 ` [Qemu-devel] [Bug 596106] " Iggy
2010-06-20 13:21 ` Avi Kivity
2010-06-18 23:18 ` Anthony Liguori
2010-06-19 13:01 ` Natalia Portillo
2010-06-20 10:01 ` [Qemu-devel] " Paolo Bonzini
2010-06-20 13:31 ` Jamie Lokier
[not found] <3425203.2261276981549347.JavaMail.acathrow@aic-desktop.cathrow.org>
2010-06-19 21:12 ` [Qemu-devel] " Andrew Cathrow
2010-06-19 23:21 ` Natalia Portillo
2010-06-20 13:46 ` Jamie Lokier
2010-06-20 14:08 ` Natalia Portillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).