From: Daniel Qarras Subject: Re: Step by step instructions for KVM networking Date: Thu, 22 Feb 2007 09:48:43 -0800 (PST) Message-ID: <20070222174843.13805.qmail@web36803.mail.mud.yahoo.com> References: <45DD5FA9.2010602@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <45DD5FA9.2010602-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hi! > In general the setup is exactly like qemu, so any howto for qemu is > applicable. > > Here's what I do: > > - copy scripts/kvm from the kvm tarball to /etc/init.d, chkconfig and > start the kvm service. that sets up a bridge > - copy scripts/qemu-ifup into a new directory /etc/kvm. make sure it > is executable. > - run qemu like this: > > qemu-system-x86_64 -net nic -net tap,script=/etc/kvm/qemu-ifup > [other options]... Thanks for your kind answer but unfortunately I cannot find the scripts you mentioned from the kvm tar ball: sh-3.1$ find kvm-14 | grep scripts kvm-14/scripts kvm-14/scripts/run_img kvm-14/scripts/65-kvm.rules kvm-14/scripts/mkbootdisk sh-3.1$ There is kvm-14/kvm script but that doesn't look at all like a Red Hat init script, it a Python script. I googled for qemu-ifup and found about dozen different kind of versions so I'm not sure which one I should use. But definetely the scripts you mentioned would be just what I was looking for! Thanks. ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV