Skip to contentSkip to conversation

no quit on halt for linux 2.6.23 x86 guest

DISCUSSION Denys Duchier 4 participants 7 messages Oct 29, 2007 – Oct 30, 2007 4 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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/

A message that is not in the archive (sent off-list or not yet received): 87sl3tev0l.fsf-7Gpg/[email protected]

#2 lore raw
Quoted 3 lines · Denys Duchier

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/

A message that is not in the archive (sent off-list or not yet received): 68676e00710290944sfbd17e0r2f1e8cbc6bed8a82-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 4 lines · Luca Tettamanti

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/

#5 lore raw
In reply to a message not in the archive
Quoted 7 lines · Luca Tettamanti
Quoted 4 lines · Denys Duchier

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.

Quoted 5 lines

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

Quoted 13 lines

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 [email protected]
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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 16 lines · Anthony Liguori
Quoted 9 lines · Luca Tettamanti
Quoted 6 lines · Denys Duchier

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.

Quoted 5 lines

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).

Quoted 3 lines

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

Quoted 20 lines

Regards,

Anthony Liguori

Quoted 14 lines

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 [email protected]
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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 5 lines · Anthony Liguori
Quoted 3 lines

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/

#10 lore raw
In reply to a message not in the archive
Quoted 7 lines · Luca Tettamanti
Quoted 4 lines · Denys Duchier

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.

Quoted 5 lines

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...

Signature · 8 lines
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/