]> xenbits.xensource.com Git - xen.git/commit
x86/HVM: drop stdvga's "lock" struct member
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2024 12:40:33 +0000 (13:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2024 12:40:33 +0000 (13:40 +0100)
commit1cb4e0a5fed5b7030b901b827643912b7070cd31
tree17fa032a40813cab2ec4c0b30d644adbdc8de14c
parent7b2df91a0e680c1fa529c0de7102027225bd5a37
x86/HVM: drop stdvga's "lock" struct member

No state is left to protect. It being the last field, drop the struct
itself as well. Similarly for then ending up empty, drop the .complete
handler.

This is part of XSA-463 / CVE-2024-45818

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
(cherry picked from commit b180a50326c8a2c171f37c1940a0fbbdcad4be90)
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/include/asm/hvm/domain.h
xen/arch/x86/include/asm/hvm/io.h