virDomainGraphicsDef: Change type of sharePolicy to virDomainGraphicsVNCSharePolicy

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Tim Wiederhake 2021-04-23 12:37:40 +02:00 committed by Ján Tomko
parent 0b20fd3754
commit 65789be8e4

View File

@ -1834,7 +1834,7 @@ struct _virDomainGraphicsDef {
bool autoport;
char *keymap;
virDomainGraphicsAuthDef auth;
int sharePolicy;
virDomainGraphicsVNCSharePolicy sharePolicy;
virTristateBool powerControl;
unsigned int audioId;
} vnc;