mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
lxc: Refresh capabilities on virConnectGetCapabilities
While not as critical as in qemu driver, there are still some runtime information we report in capabilities XML that might change throughout time. For instance, onlined CPUs (which affects reported L3 cache sizes). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
142c4b10fd
commit
832d620ed3
@ -205,7 +205,7 @@ static char *lxcConnectGetCapabilities(virConnectPtr conn) {
|
||||
if (virConnectGetCapabilitiesEnsureACL(conn) < 0)
|
||||
return NULL;
|
||||
|
||||
if (!(caps = virLXCDriverGetCapabilities(driver, false)))
|
||||
if (!(caps = virLXCDriverGetCapabilities(driver, true)))
|
||||
return NULL;
|
||||
|
||||
xml = virCapabilitiesFormatXML(caps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user