|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH for-2.4 1/2] core: reset handler for bus-less devices |
Date: | Mon, 13 Jul 2015 16:28:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 09/07/2015 20:53, Peter Crosthwaite wrote: > > Any reason to not just rip though the whole QOM tree and reset every > device regardless of bus/containuer arch? IIRC the semantics for > ->reset (and at least devices_reset()) are "pull the plug out of wall > and put it back in again" so there is currently supposed to be no > scope for controlling reset events. Most bus ->reset methods expect the children to be reset before the parent (postorder). At least SCSI and PCI do. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |