Re: [PATCH 4/4] qemu: caps: Format SEV platform data into qemuCaps cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 15, 2018 at 17:02:08 +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):
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1612009
> Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c                      | 100 ++++++++++++++++++++++
>  tests/domaincapsschemadata/qemu_2.12.0.x86_64.xml |   5 +-
>  tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml |   6 ++
>  3 files changed, 110 insertions(+), 1 deletion(-)

ACK. I could not find any place where the data would be used by any code
which would get it from the local copy from the @vm object, since that
is not serialized in the domain status XML.

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux