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?