[libvirt] [PATCH 0/7] Couple of -Os fixes

Michal Privoznik mprivozn at redhat.com
Thu Mar 3 08:44:35 UTC 2016


So while trying to bring down the size of my nss module, one of the things I've
tried was compiling with -Os instead of -O3. Interesting errors pop up. Here
are the fixes. If you think I should squash some patches together, I will
gladly do that.

Michal Privoznik (7):
  virCommandAddEnv: Drop inline
  virDomainNumatuneNodeSpecified: Drop inline
  virDomainChrRemove: Initialize @ret
  vbox: Initialize @rc
  qemuDomainBlockCommit: Initialize @baseSource
  virNetworkDefForwardIf: drop inline
  virStorageBackendLogicalMatchPoolSource: Initialize @thisSource

 src/conf/domain_conf.c                | 2 +-
 src/conf/network_conf.c               | 8 ++++++++
 src/conf/network_conf.h               | 8 +-------
 src/conf/numa_conf.c                  | 2 +-
 src/libvirt_private.syms              | 1 +
 src/qemu/qemu_driver.c                | 2 +-
 src/storage/storage_backend_logical.c | 2 +-
 src/util/vircommand.c                 | 2 +-
 src/vbox/vbox_common.c                | 2 +-
 src/vbox/vbox_tmpl.c                  | 2 +-
 10 files changed, 17 insertions(+), 14 deletions(-)

-- 
2.4.10




More information about the libvir-list mailing list