mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-22 22:03:44 +03:00
Fix waiting for VM based on UUID
This commit is contained in:
parent
c015cf6076
commit
8bf23ec76e
@ -597,7 +597,7 @@ static int viewer_matches_domain(VirtViewer *viewer,
|
||||
if (virDomainGetID(dom) == id)
|
||||
return 1;
|
||||
}
|
||||
if (!dom && viewer_parse_uuid(viewer->domkey, wantuuid) == 0) {
|
||||
if (viewer_parse_uuid(viewer->domkey, wantuuid) == 0) {
|
||||
virDomainGetUUID(dom, domuuid);
|
||||
if (memcmp(wantuuid, domuuid, VIR_UUID_BUFLEN) == 0)
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user