mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
qga: Fix VSS provider GetSnapshotProperties return value
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 <eashurov@redhat.com> Reviewed-by: Kostiantyn Kostiuk <kkostiuk@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260211101744.757548-2-eashurov@redhat.com Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
This commit is contained in:
committed by
Kostiantyn Kostiuk
parent
0257ec9905
commit
374f467678
@@ -263,7 +263,7 @@ STDMETHODIMP CQGAVssProvider::SetContext(LONG lContext)
|
|||||||
STDMETHODIMP CQGAVssProvider::GetSnapshotProperties(
|
STDMETHODIMP CQGAVssProvider::GetSnapshotProperties(
|
||||||
VSS_ID SnapshotId, VSS_SNAPSHOT_PROP *pProp)
|
VSS_ID SnapshotId, VSS_SNAPSHOT_PROP *pProp)
|
||||||
{
|
{
|
||||||
return VSS_E_OBJECT_NOT_FOUND;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
STDMETHODIMP CQGAVssProvider::Query(
|
STDMETHODIMP CQGAVssProvider::Query(
|
||||||
|
|||||||
Reference in New Issue
Block a user