Reviewed-by: Kostiantyn Kostiuk <[email protected]> On Wed, Feb 11, 2026 at 12:22 PM Elizabeth Ashurov <[email protected]> wrote:
> GetSnapshotProperties() returned VSS_E_OBJECT_NOT_FOUND causing > "Snapshot id not found" errors during VSS operations. > > Any error in this function causes a similar error in Windows VSS, > so we must return S_OK there. > > Signed-off-by: Elizabeth Ashurov <[email protected]> > --- > qga/vss-win32/provider.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qga/vss-win32/provider.cpp b/qga/vss-win32/provider.cpp > index a102a23fbf..2b5c6f8e8e 100644 > --- a/qga/vss-win32/provider.cpp > +++ b/qga/vss-win32/provider.cpp > @@ -263,7 +263,7 @@ STDMETHODIMP CQGAVssProvider::SetContext(LONG lContext) > STDMETHODIMP CQGAVssProvider::GetSnapshotProperties( > VSS_ID SnapshotId, VSS_SNAPSHOT_PROP *pProp) > { > - return VSS_E_OBJECT_NOT_FOUND; > + return S_OK; > } > > STDMETHODIMP CQGAVssProvider::Query( > -- > 2.51.0 > >
