Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-09 Thread Juraj Marcin
On Thu, Aug 8, 2024 at 5:47 PM Peter Maydell wrote: > > On Thu, 8 Aug 2024 at 13:37, David Hildenbrand wrote: > > > > On 08.08.24 14:25, Peter Maydell wrote: > > > On Tue, 6 Aug 2024 at 17:08, Juraj Marcin wrote: > > >> > > >> LegacyReset does not pass ResetType to the reset callback method, whi

Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-08 Thread Peter Maydell
On Thu, 8 Aug 2024 at 13:37, David Hildenbrand wrote: > > On 08.08.24 14:25, Peter Maydell wrote: > > On Tue, 6 Aug 2024 at 17:08, Juraj Marcin wrote: > >> > >> LegacyReset does not pass ResetType to the reset callback method, which > >> the new Resettable interface uses. Due to this, virtio-mem

Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-08 Thread David Hildenbrand
On 08.08.24 14:25, Peter Maydell wrote: On Tue, 6 Aug 2024 at 17:08, Juraj Marcin wrote: LegacyReset does not pass ResetType to the reset callback method, which the new Resettable interface uses. Due to this, virtio-mem cannot use the new RESET_TYPE_WAKEUP to skip reset during wake-up from a s

Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-08 Thread Peter Maydell
On Tue, 6 Aug 2024 at 17:08, Juraj Marcin wrote: > > LegacyReset does not pass ResetType to the reset callback method, which > the new Resettable interface uses. Due to this, virtio-mem cannot use > the new RESET_TYPE_WAKEUP to skip reset during wake-up from a suspended > state. > > This patch add

Re: [PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-06 Thread David Hildenbrand
On 06.08.24 18:07, Juraj Marcin wrote: LegacyReset does not pass ResetType to the reset callback method, which the new Resettable interface uses. Due to this, virtio-mem cannot use the new RESET_TYPE_WAKEUP to skip reset during wake-up from a suspended state. This patch adds the Resettable inter

[PATCH 3/4] virtio-mem: Implement Resettable interface instead of using LegacyReset

2024-08-06 Thread Juraj Marcin
LegacyReset does not pass ResetType to the reset callback method, which the new Resettable interface uses. Due to this, virtio-mem cannot use the new RESET_TYPE_WAKEUP to skip reset during wake-up from a suspended state. This patch adds the Resettable interface to the VirtioMemClass interface list