On Sat, Jul 16, 2011 at 10:54, Kfir Lavi <lavi.k...@gmail.com> wrote:
> Hi, > I'm creating a router based on Gentoo, that needs to run as a vm using > qemu. > The mother machine will be Core I7 4 cores. > What cpu and CFLAGS should I use to get the best performance out of this > vm? > > If you intend to run this VM on different hardware or distribute it in any way (so you don't really know on what hardware it will run) your best bet is to set a generic arch like i686 or lower, OR hope the VM is run on software based emulation (slow) so you don't have to worry about what CPU is running it. >From my experience with qemu, you'll have a lot of requirements too, like bridging and kernel module for virtual interfaces (tun/tap). Now, if this will run on your machine, with kqemu, you'll set march on your guest as your host is... -- Daniel da Veiga