public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* no quit on halt for linux 2.6.23 x86 guest
@ 2007-10-29 16:38 Denys Duchier
       [not found] ` <87sl3tev0l.fsf-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Duchier @ 2007-10-29 16:38 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

qemu doesn't quit (no poweroff?) on halt for linux 2.6.23 x86 guests (confirmed
by danieldg on irc), but it works for 64bit guests and it works for linux 2.6.22
x86 guests. I tried kvm-45 and kvm-49. -no-kvm does not help.

Cheers,

--Denys


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found] ` <87sl3tev0l.fsf-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org>
@ 2007-10-29 16:44   ` Luca Tettamanti
       [not found]     ` <68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Luca Tettamanti @ 2007-10-29 16:44 UTC (permalink / raw)
  To: Denys Duchier; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 10/29/07, Denys Duchier <denys.duchier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org> wrote:
> qemu doesn't quit (no poweroff?) on halt for linux 2.6.23 x86 guests (confirmed
> by danieldg on irc), but it works for 64bit guests and it works for linux 2.6.22
> x86 guests. I tried kvm-45 and kvm-49. -no-kvm does not help.

Try acpi=force on the kernel command line (guest). QEmu doesn't expose
a DMI block and Linux guests usually don't enable ACPI since they're
unable to check BIOS year (all BIOSes shipped before 2001 are
blacklisted because they tend to be very broken).

Luca

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found]     ` <68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-10-29 17:05       ` Denys Duchier
  2007-10-29 17:47       ` Anthony Liguori
  2007-10-30  3:36       ` Avi Kivity
  2 siblings, 0 replies; 7+ messages in thread
From: Denys Duchier @ 2007-10-29 17:05 UTC (permalink / raw)
  To: Luca Tettamanti; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

"Luca Tettamanti" <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Try acpi=force on the kernel command line (guest). QEmu doesn't expose
> a DMI block and Linux guests usually don't enable ACPI since they're
> unable to check BIOS year (all BIOSes shipped before 2001 are
> blacklisted because they tend to be very broken).

drat! thanks!  indeed disabling the check in the kernel works and that's what I
had done with 2.6.22, but I had completely forgotten about it in the mean time.
sorry about the noise :-(

Cheers,

--Denys


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found]     ` <68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-10-29 17:05       ` Denys Duchier
@ 2007-10-29 17:47       ` Anthony Liguori
       [not found]         ` <47261C9B.5030409-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
  2007-10-30  3:36       ` Avi Kivity
  2 siblings, 1 reply; 7+ messages in thread
From: Anthony Liguori @ 2007-10-29 17:47 UTC (permalink / raw)
  To: Luca Tettamanti; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Denys Duchier

Luca Tettamanti wrote:
> On 10/29/07, Denys Duchier <denys.duchier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org> wrote:
>   
>> qemu doesn't quit (no poweroff?) on halt for linux 2.6.23 x86 guests (confirmed
>> by danieldg on irc), but it works for 64bit guests and it works for linux 2.6.22
>> x86 guests. I tried kvm-45 and kvm-49. -no-kvm does not help.
>>     
>
> Try acpi=force on the kernel command line (guest). QEmu doesn't expose
> a DMI block and Linux guests usually don't enable ACPI since they're
> unable to check BIOS year (all BIOSes shipped before 2001 are
> blacklisted because they tend to be very broken).
>   

This would require CONFIG_ACPI_BLACKLIST_YEAR=2001.  In my kernel 
config, it's set to 0 and my guests still don't shut off so I think 
there's more to it than just this.

Regards,

Anthony Liguori

> Luca
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found]         ` <47261C9B.5030409-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
@ 2007-10-29 17:57           ` Anthony Liguori
       [not found]             ` <47261EF3.9090402-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Anthony Liguori @ 2007-10-29 17:57 UTC (permalink / raw)
  To: Luca Tettamanti; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Denys Duchier

Anthony Liguori wrote:
> Luca Tettamanti wrote:
>> On 10/29/07, Denys Duchier <denys.duchier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org> wrote:
>>  
>>> qemu doesn't quit (no poweroff?) on halt for linux 2.6.23 x86 guests 
>>> (confirmed
>>> by danieldg on irc), but it works for 64bit guests and it works for 
>>> linux 2.6.22
>>> x86 guests. I tried kvm-45 and kvm-49. -no-kvm does not help.
>>>     
>>
>> Try acpi=force on the kernel command line (guest). QEmu doesn't expose
>> a DMI block and Linux guests usually don't enable ACPI since they're
>> unable to check BIOS year (all BIOSes shipped before 2001 are
>> blacklisted because they tend to be very broken).
>>   
>
> This would require CONFIG_ACPI_BLACKLIST_YEAR=2001.  In my kernel 
> config, it's set to 0 and my guests still don't shut off so I think 
> there's more to it than just this.

Nevermind, I was looking at an x86_64 config.

Regards,

Anthony Liguori

> Regards,
>
> Anthony Liguori
>
>> Luca
>>
>> ------------------------------------------------------------------------- 
>>
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
>>   
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found]             ` <47261EF3.9090402-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
@ 2007-10-29 18:47               ` Denys Duchier
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Duchier @ 2007-10-29 18:47 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> writes:

>> This would require CONFIG_ACPI_BLACKLIST_YEAR=2001.  In my kernel 
>> config, it's set to 0 and my guests still don't shut off so I think 
>> there's more to it than just this.
>
> Nevermind, I was looking at an x86_64 config.

that's odd, because it works for me and it reportedly works also for danieldg.

Cheers,

--Denys


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: no quit on halt for linux 2.6.23 x86 guest
       [not found]     ` <68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-10-29 17:05       ` Denys Duchier
  2007-10-29 17:47       ` Anthony Liguori
@ 2007-10-30  3:36       ` Avi Kivity
  2 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-10-30  3:36 UTC (permalink / raw)
  To: Luca Tettamanti; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Denys Duchier

Luca Tettamanti wrote:
> On 10/29/07, Denys Duchier <denys.duchier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org> wrote:
>   
>> qemu doesn't quit (no poweroff?) on halt for linux 2.6.23 x86 guests (confirmed
>> by danieldg on irc), but it works for 64bit guests and it works for linux 2.6.22
>> x86 guests. I tried kvm-45 and kvm-49. -no-kvm does not help.
>>     
>
> Try acpi=force on the kernel command line (guest). QEmu doesn't expose
> a DMI block and Linux guests usually don't enable ACPI since they're
> unable to check BIOS year (all BIOSes shipped before 2001 are
> blacklisted because they tend to be very broken).
>   

I think Xen have a dmi block that fixes this.  If someone wants to 
borrow it for kvm, you know where to send patches...

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-30  3:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 16:38 no quit on halt for linux 2.6.23 x86 guest Denys Duchier
     [not found] ` <87sl3tev0l.fsf-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org>
2007-10-29 16:44   ` Luca Tettamanti
     [not found]     ` <68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-29 17:05       ` Denys Duchier
2007-10-29 17:47       ` Anthony Liguori
     [not found]         ` <47261C9B.5030409-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-10-29 17:57           ` Anthony Liguori
     [not found]             ` <47261EF3.9090402-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-10-29 18:47               ` Denys Duchier
2007-10-30  3:36       ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox