public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Roland Lammel <rl@brabbel.net>
Cc: Glauber Costa <glommer@redhat.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Chris Jones <chris@rassalon.org>,
	kvm@vger.kernel.org,
	Glauber de Oliveira Costa <gcosta@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: Hangs
Date: Fri, 21 Nov 2008 21:01:37 +0000	[thread overview]
Message-ID: <20081121210137.GL28646@redhat.com> (raw)
In-Reply-To: <9b51ffb30811211229r35bae0f3yc688cf0805c2b2fb@mail.gmail.com>

On Fri, Nov 21, 2008 at 09:29:43PM +0100, Roland Lammel wrote:
> On Fri, Nov 21, 2008 at 4:55 PM, Glauber Costa <glommer@redhat.com> 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 <domain> tag can contains a set of features, one of
which is ACPI, eg.


  <domain type='kvm'>
    <name>foo</name>
    .....
    <features>
      <acpi/>
    </features>
    ....
  </domain>

If the '<acpi/>' 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 :|

  reply	other threads:[~2008-11-21 21:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 15:34 Hangs Chris Jones
2008-11-16 16:36 ` Hangs Chris Jones
2008-11-18 21:34 ` Hangs Marcelo Tosatti
2008-11-19 10:57   ` Hangs Roland Lammel
2008-11-19 21:53     ` Hangs Roland Lammel
     [not found]       ` <20081120015600.GB10846@dmt.cnet>
2008-11-21 15:55         ` Hangs Glauber Costa
2008-11-21 20:29           ` Hangs Roland Lammel
2008-11-21 21:01             ` Daniel P. Berrange [this message]
2008-11-21 23:46               ` Hangs Roland Lammel
2008-12-06 23:18                 ` Hangs Roland Lammel
2008-12-09  0:34                   ` Hangs xming
  -- strict thread matches above, loose matches on Subject: below --
2008-11-19 22:43 Hangs chris
2008-11-20 17:10 ` Hangs chris
2008-11-21 19:32   ` Hangs Marcelo Tosatti
2008-11-21 23:43     ` Hangs Roland Lammel
2008-11-22 17:54     ` Hangs chris
     [not found]       ` <519a8b110811280305v764fade1w9d02f5c9188f56e5@mail.gmail.com>
2008-11-28 12:35         ` Hangs xming
2008-12-02 10:47           ` Hangs xming
2008-12-02 12:09             ` Hangs Avi Kivity
2008-12-02 20:58               ` Hangs chris
2008-12-02 23:01                 ` Hangs xming
2008-12-03  1:20                   ` Hangs chris
2008-12-03  9:13                     ` Hangs xming
2008-12-03 10:44                 ` Hangs Avi Kivity
2008-12-03 17:49                   ` Hangs chris
2008-12-18 18:05                     ` Hangs chris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081121210137.GL28646@redhat.com \
    --to=berrange@redhat.com \
    --cc=chris@rassalon.org \
    --cc=gcosta@redhat.com \
    --cc=glommer@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=rl@brabbel.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox