From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: scripted migration (without Alt-Ctrl-2 / qemu-monitor) - possible? Date: Thu, 05 Apr 2007 13:26:32 +0300 Message-ID: <4614CED8.20209@qumranet.com> References: <4614CA6B.2030303@wpkg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Tomasz Chmielewski Return-path: In-Reply-To: <4614CA6B.2030303-Nem3ZqsbT/g@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 Tomasz Chmielewski wrote: > Is it possible to do a migration (or any other maintenance, like > stopping a guest VM) without qemu-monitor / Alt-Ctrl-2? > > > For those using Xen, it would be similar to a command line "xm" which > migrates a guest/domain to a different host - just SSH to your server > (or use it in a script etc.), and do: > > xm migrate > > > Similarly, lots of other actions are possible, like pausing, rebooting, > shutting down, saving, restoring etc. > > > The idea of having to "alt-ctrl-2 on the SDL window" does seem a bit > incompatible with CLI, doesn't it? > > Look up the qemu -monitor option. This allows you to redirect the qemu console anywhere you like, including stdio, pipes, tcp sockets, etc. It's wonderfully flexible. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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