RE: [virtio-dev] Re: [VIRTIO PCI PATCH v5 1/1] transport-pci: Add freeze_mode to virtio_pci_common_cfg

Parav Pandit <[email protected]>
Newsgroups dev.linux.lists.virtio-dev,dev.linux.lists.virtio-comment
Message-ID <PH0PR12MB54817697DBA852FF2E1F619FDCC2A@PH0PR12MB5481.namprd12.prod.outlook.com>

> From: Michael S. Tsirkin <[email protected]>
> Sent: Tuesday, September 26, 2023 5:28 PM

[..]

> > When new feature bit of suspend is offered, guest will _not_ do reset, hence
> no need to mix reset with suspend.
> >
> > [1] https://lists.oasis-open.org/archives/virtio-comment/202309/msg00260.html
> 
> I frankly don't understand what you proposed there.
> 
> reset is a simple operation, it just erases all virtio state from the device. It is very
> commonly is performed at OS/driver startup. Making it not reset some virtio
> state is a bad idea since suddenly you kexec a guest that attempts a reset and
> device is stuck in some weird state.

Just exactly what you said.
Reset simply resets the device including the suspended state and any other bit being set.

Reset flow cannot be influenced by some suspend bit setting.
I said same in above [1].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.