[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit ca
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit capable. |
Date: |
Tue, 3 Feb 2009 13:52:15 -0200 |
On Tue, Feb 3, 2009 at 1:44 PM, Alexander Graf <address@hidden> wrote:
> This doesn't really compile on win32, does it?
This is kvm code, and as we don't have kvm for win32 hosts, possibly
does not matter.
>
> Why not check for sizeof(long) == 4? That way you'd know that you're running
> 32-bit code which can only handle 32-bit guests anyway, right? And if you're
> running 64-bit userspace code, you know that the kernel is 64-bit aware.
How about qemu/kvm compiled in a 32-bit environment, thus, sizeof long == 4,
running in a x86_64 capable kernel?
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit capable., Avi Kivity, 2009/02/03
Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit capable., Avi Kivity, 2009/02/03