On Wed, Aug 15, 2018 at 05:02:08PM +0200, Erik Skultety wrote:
Since we're not saving the platform-specific data into a cache,
we're
not going to populate the structure, which in turn will cause a crash
upon calling virNodeGetSEVInfo because of a NULL pointer dereference.
Ultimately, we should start caching this data along with host-specific
capabilities like NUMA and SELinux stuff into a separate cache, but for
the time being, this is a semi-proper fix for a potential crash.
Backtrace (requires libvirtd restart to load qemu caps from cache):
I'm actually missing the backtrace, I'll add it eventually (a copy-paste with
a '#' in place :/).
Erik