libvirt/tests/domaincapsschemadata
Erik Skultety 77f51ab520 qemu: caps: Format SEV platform data into qemuCaps cache
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):
    #0 qemuGetSEVInfoToParams
    #1 qemuNodeGetSEVInfo
    #2 virNodeGetSEVInfo
    #3 remoteDispatchNodeGetSevInfo
    #4 remoteDispatchNodeGetSevInfoHelper
    #5 virNetServerProgramDispatchCall
    #6 virNetServerProgramDispatch
    #7 virNetServerProcessMsg
    #8 virNetServerHandleJob
    #9 virThreadPoolWorker
    #10 virThreadHelper

https: //bugzilla.redhat.com/show_bug.cgi?id=1612009
Signed-off-by: Erik Skultety <eskultet@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Tested-by: Brijesh Singh <brijesh.singh@amd.com>
2018-08-20 07:18:21 +02:00
..
basic.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
bhyve_basic.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
bhyve_fbuf.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
bhyve_uefi.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
full.xml conf: Introduce new video type 'none' 2018-07-18 18:23:51 +02:00
libxl-xenfv-usb.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
libxl-xenfv.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
libxl-xenpv-usb.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
libxl-xenpv.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_1.7.0.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.6.0-virt.aarch64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.6.0.aarch64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.6.0.ppc64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.6.0.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.7.0.s390x.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.8.0-tcg.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.8.0.s390x.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.8.0.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.9.0-q35.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.9.0-tcg.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.9.0.x86_64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.12.0-virt.aarch64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.12.0.ppc64.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.12.0.s390x.xml conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
qemu_2.12.0.x86_64.xml qemu: caps: Format SEV platform data into qemuCaps cache 2018-08-20 07:18:21 +02:00