kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Avi Kivity <avi@redhat.com>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: winXP "Standard PC" HAL and qemu-kvm >= 0.15
Date: Tue, 06 Dec 2011 00:19:47 +0400	[thread overview]
Message-ID: <4EDD2763.8010808@msgid.tls.msk.ru> (raw)
In-Reply-To: <4EDCC6FE.8040702@redhat.com>

On 05.12.2011 17:28, Avi Kivity wrote:
[]
>> I haven't debugged further yet, -- because it were
>> not easy to find out what was causing the regression
>> and how to reproduce it, and also because I don't think
>> it is the right HAL for qemu-kvm guest anyway.
> 
> It's not, but the regression indicates we broke something.  It would be
> good to know what that is.

So today I gave it a chance with git bisect, and here's what it found:

First bad commit ef390067a72fe09977bb4ac8211313e1503302ea
Merge: c7b3e90 0fd542f
Author: Avi Kivity <avi@redhat.com>
Date:   Sun May 15 04:48:05 2011 -0400

    Merge commit '0fd542fb7d13ddf12f897bb27c5950f31638b1df' into upstream-merge

    * commit '0fd542fb7d13ddf12f897bb27c5950f31638b1df':
      cpu: add set_memory flag to request dirty logging
      piix_pci: load path clean up
      piix_pci: optimize set irq path
      piix_pci: eliminate PIIX3State::pci_irq_levels
      pci: add accessor function to get irq levels
      cirrus_vga: remove unneeded reset

    Conflicts:
        exec.c

    Signed-off-by: Avi Kivity <avi@redhat.com>

And just like with the 32/64bit lockup issue, this is a merge
commit, which is not exactly useful.

Any guesses? :)

The problem is that so far, there's no known way to change to
use proper hal type in winXP (except of reinstalling the guest),
and there's no known workaround on the kvm side, so users are
stuck with older versions.

>> So, if anybody have some thoughts about this issue,
>> and especially if you know a way to switch winXP HAL
>> type to some ACPI variant without reinstalling, please
>> speak up.. ;)
> 
> I remember doing it somewhere in device manager, perhaps in the
> processor entry.  But it was years since I last did this.

As I already mentioned, changing HAL type works from anything to
"Standard PC", but not back.  I'll try to investigate.

>> Debian bugreport for a reference: http://bugs.debian.org/647312
>>
>> Reproducer: install a winXP guest on kvm with -no-acpi so
>> it chooses an "Uniprocessor with MPS" HAL.  Switch it to
>> "Standard PC" in device manager, reboot -- in 0.15+ it does
>> not work anymore, while in 0.14 it continues to work fine.
> 
> Most likely non-ACPI interrupt routing.

The commit it bisected to talks about piix -- may it be related?

Thanks,

/mjt

  reply	other threads:[~2011-12-05 20:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  9:21 winXP "Standard PC" HAL and qemu-kvm >= 0.15 Michael Tokarev
2011-12-05 13:28 ` Avi Kivity
2011-12-05 20:19   ` Michael Tokarev [this message]
2011-12-06 10:32     ` Avi Kivity
2011-12-06 11:02       ` Michael Tokarev
2011-12-06 12:27         ` Michael S. Tsirkin
2011-12-06 14:45           ` Michael Tokarev
2011-12-06 16:29             ` [Qemu-devel] " Michael Tokarev
2011-12-06 16:38               ` Jan Kiszka
2011-12-06 16:57                 ` Michael Tokarev
2011-12-06 17:45                   ` Jan Kiszka
2011-12-06 18:13                   ` Michael Tokarev
2011-12-06 18:21                     ` Jan Kiszka
2011-12-06 18:45                       ` Michael Tokarev
2011-12-06 19:38                         ` Michael Tokarev
2011-12-06 20:58                           ` Jan Kiszka
2011-12-06 21:12                             ` Jan Kiszka
2011-12-07  7:11                               ` [Qemu-devel] " Michael Tokarev
2011-12-07  9:02                       ` Kevin Wolf
2011-12-07  9:31                         ` [Qemu-devel] " Michael Tokarev

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=4EDD2763.8010808@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).