|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 00/15] qdev: make reset semantics more clear and consistent, reset qbuses under virtio devices |
Date: | Thu, 10 Jan 2013 15:38:04 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Il 10/01/2013 15:14, Anthony Liguori ha scritto: > What I would propose is that we: > > s/DeviceState::reset/DeviceState::hard_reset/g > > Then introduce PCIDevice::soft_reset. We can convert the PCI layer to > call soft_reset() instead of hard_reset. > > Over time, it would be great if we could find a way to implement > hard_reset in terms of device destruction/recreation but we're not there > yet. > > I think the reset/hard_reset rename can be done via sed mostly. > > Would this solve the bug that you're trying to fix Michael/Paolo? I can fix the bug easily just in virtio-scsi. I don't want anywone to trip on it again due to false expectations about reset, though. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |