|
From: | Anthony Liguori |
Subject: | [Qemu-devel] Re: pci: is reset incomplete? |
Date: | Mon, 14 Sep 2009 12:15:29 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
Michael S. Tsirkin wrote:
Hi! pci bus reset does not seem to clear pci config registers, such as BAR registers, or memory space enable, of the attached devices: it only clears the interrupt state. This seems wrong, but easy to fix.
I don't think most pci devices reset their config space in their reset callbacks.
I would think that making most of the config space (if not the entire) qdev properties would make sense. You can then get reset for free and it's possible for users to tweak things like class codes universally.
Regards, Anthony Liguori
Comments?
[Prev in Thread] | Current Thread | [Next in Thread] |