Skip to contentSkip to conversation

why we build only some optional modules as modules?

Qemu-devel Michael Tokarev 2 participants 4 messages Apr 5, 2014 – Apr 8, 2014

lore
Share & tools
lore
#0 lore raw

A quick (hopefully) question.

Why build-as-modules only enabled for a few optional modules only, why not build as modules everything, to reduce common executable size? Or is it not a concern anymore at our disk sizes? :)

Thanks,

/mjt

#1 lore raw
Quoted 6 lines · Michael Tokarev

A quick (hopefully) question.

Why build-as-modules only enabled for a few optional modules only, why not build as modules everything, to reduce common executable size? Or is it not a concern anymore at our disk sizes? :)

The original demand was to reduce package dependencies of distribution QEMU, hence not everything is (planned to be) modularized.

But there is no blocking reason to turn other things to modules as well, AFAICT.

Thanks,
Fam

#2 lore raw
Quoted 9 lines · Fam Zheng
Quoted 5 lines · Michael Tokarev

A quick (hopefully) question.

Why build-as-modules only enabled for a few optional modules only, why not build as modules everything, to reduce common executable size? Or is it not a concern anymore at our disk sizes? :)

The original demand was to reduce package dependencies of distribution QEMU, hence not everything is (planned to be) modularized.

Please note that current situation/implementation has one detail which prevents this usage: when any module is missing, qemu complains at startup about this. So at this stage, the original goal is not met. ;)

Quoted 2 lines

But there is no blocking reason to turn other things to modules as well, AFAICT.

I think so, too, yes.

Thank you!

/mjt

#3 lore raw
Quoted 8 lines · Michael Tokarev
Quoted 7 lines · Fam Zheng
Quoted 5 lines · Michael Tokarev

A quick (hopefully) question.

Why build-as-modules only enabled for a few optional modules only, why not build as modules everything, to reduce common executable size? Or is it not a concern anymore at our disk sizes? :)

Quoted 6 lines
Quoted 2 lines

The original demand was to reduce package dependencies of distribution QEMU, hence not everything is (planned to be) modularized.

Please note that current situation/implementation has one detail which prevents this usage: when any module is missing, qemu complains at startup about this. So at this stage, the original goal is not met. ;)

True but I don't know either, my original patch didn't complain about this. :)

Quoted 6 lines
Quoted 3 lines

But there is no blocking reason to turn other things to modules as well, AFAICT.

I think so, too, yes.

And it would be good if you have a reason to do it.

Fam