]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/HVM: drop stdvga's "cache" struct member
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Sep 2024 10:57:53 +0000 (12:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Sep 2024 10:57:53 +0000 (12:57 +0200)
commit53b7246bdfb3c280adcdf714918e4decb7e108f4
treeebf0822786f9a2fb961b220267bd2379236afa55
parent2b24c090d1454fc13fb2fce94565175449aed25e
x86/HVM: drop stdvga's "cache" struct member

Since 68e1183411be ("libxc: introduce a xc_dom_arch for hvm-3.0-x86_32
guests"), HVM guests are built using XEN_DOMCTL_sethvmcontext, which
ends up disabling stdvga caching because of arch_hvm_load() being
involved in the processing of the request. With that the field is
useless, and can be dropped. Drop the helper functions manipulating /
checking as well right away, but leave the use sites of
stdvga_cache_is_enabled() with the hard-coded result the function would
have produced, to aid validation of subsequent dropping of further code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/save.c
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/include/asm/hvm/io.h