block/sheepdog.o has a 4M static variable that is 90% of QEMU's whole .bss
section. Since it doesn't really have to be static, we can just use a
heap allocated block. We can actually make it smaller too. :)
Patch 1 is a related cleanup since we're touching that area of the code.
Paolo
Paolo Bonzini (2):
sheepdog: cleanup repeated expression
sheepdog: remove huge BSS object
block/sheepdog.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
--
2.17.0