Re: [kvm-devel] gcc + kvm + 64 bit ? confused :-/

From: Avi Kivity
Date: Wed Jul 11 2007 - 05:47:36 EST


Benjamin Budts wrote:
Hi all,

question...

I'm a bit confused using the -march=xxx options for gcc when using a kernel virtual machine...
Getting errors on smp when using the -march=nocoma for gcc... possibly because smp is not fully supported yet I suppse.

I guess my question is, when installing kvm, is the virtual machine 64 bit capable or should I install 32 bit OS ?

kvm supports 64-bit and 32-bit guests if running on a 64-bit host.

I installed an amd64 debian image and it seems to be running fine...except for the problem mentioned above.

And what type of architecture do i have to mention with gcc in a kvm ? march ... arch...

Please post the errors.

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/