I just like to note that my issues with the clock were solved when I
switched to acpi_pm clock. I can still reproduce the hang with the
kvm_clock though.

I still use ntpd in the guests, as it is not clear to me whether the
acpi_pm clock synchronizes to the hostclock or not.

[EMAIL PROTECTED]:~$ uptime
 00:15:21 up 13 days, 21:44,  1 user,  load average: 0.00, 0.00, 0.00

In case you want some more info on the hangs when using kvm_clock,
please drop me a mail.

Cheers and thanks for all your help

+rl

On Sat, Nov 22, 2008 at 00:46, Roland Lammel <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 21, 2008 at 10:01 PM, Daniel P. Berrange
> <[EMAIL PROTECTED]> wrote:
>> On Fri, Nov 21, 2008 at 09:29:43PM +0100, Roland Lammel wrote:
>>> On Fri, Nov 21, 2008 at 4:55 PM, Glauber Costa <[EMAIL PROTECTED]> 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.
>
> Thanks, just found the acpi flag today and am using it now for the domains.
>
>> 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
>
> I actually installed the domain manually once and just cloned it, but
> thanks to point that out!
>
> Regards
>
> +rl
> --
> Roland Lammel
> QuikIT - IT Lösungen - flexibel und schnell
> Web: http://www.quikit.at
> Email: [EMAIL PROTECTED]
>
> "Enjoy your job, make lots of money, work within the law. Choose any two."
>



-- 
Roland Lammel
QuikIT - IT Lösungen - flexibel und schnell
Web: http://www.quikit.at
Email: [EMAIL PROTECTED]

"Enjoy your job, make lots of money, work within the law. Choose any two."
N�����r��y����b�X��ǧv�^�)޺{.n�+����h����ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?�����&�)ߢf

Reply via email to