From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: Hangs Date: Fri, 21 Nov 2008 21:01:37 +0000 Message-ID: <20081121210137.GL28646@redhat.com> References: <20081118213434.GA32129@dmt.cnet> <9b51ffb30811190257l534d677fw6da8c0e16c15598a@mail.gmail.com> <9b51ffb30811191353v5374ed43yab7b142faa99a9b5@mail.gmail.com> <20081120015600.GB10846@dmt.cnet> <20081121155529.GA7198@poweredge.glommer> <9b51ffb30811211229r35bae0f3yc688cf0805c2b2fb@mail.gmail.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Glauber Costa , Marcelo Tosatti , Chris Jones , kvm@vger.kernel.org, Glauber de Oliveira Costa , Gerd Hoffmann To: Roland Lammel Return-path: Received: from mx1.redhat.com ([66.187.233.31]:50596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752629AbYKUVBn (ORCPT ); Fri, 21 Nov 2008 16:01:43 -0500 Content-Disposition: inline In-Reply-To: <9b51ffb30811211229r35bae0f3yc688cf0805c2b2fb@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Nov 21, 2008 at 09:29:43PM +0100, Roland Lammel wrote: > On Fri, Nov 21, 2008 at 4:55 PM, Glauber Costa wrote: > > On Thu, Nov 20, 2008 at 02:56:00AM +0100, Marcelo Tosatti wrote: > >> > >> Why are you using -no-acpi? Perhaps switch the guest to acpi_pm to isolate > >> kvm-clock issues? > > I've changed one guest to use acpi and use the acpi_pm clock source. > > Running now with: > /usr/local/bin/qemu-system-x86_64 -S -M pc -m 500 -smp 1 -name bit > -monitor pty -no-acpi -boot c -drive > file=/var/kvm/bit.img,if=virtio,index=0,boot=on -net > nic,macaddr=24:42:53:21:52:45,vlan=0,model=virtio -net > tap,fd=11,script=,vlan=0,ifname=vnet0 -serial tcp:127.0.0.1:50401 > -parallel none -usb -vnc 0.0.0.0:45001 > > Actually I had similar problems when using kvm-72 and acpi, and after > switching to libvirt for configuration it automatically changed to > no-acpi which I just left that way to try it. I've read mixed > recommendaction concerning ACPI. FYI, libvirt allows you to turn ACPI on or off. In the XML document, the top level tag can contains a set of features, one of which is ACPI, eg. foo ..... .... If the '' tag is left out, libvirt will add -no-acpi to QEMU command line. For more information check out the docs here: http://libvirt.org/formatdomain.html#elementsFeatures > So should acpi be enabled generelly (for modern kernels and systems)? > Should ntpd be running on the guests, or just the host when using acpi_pm? The virt-install & virt-manager tools will enable ACPI by default for nearly all OS, except for a couple of very old Windows which don;t commonly work Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|