Re: gcc + kvm + 64 bit ? confused :-/

Avi Kivity
2007-07-11T09:47:34Z

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