As the title asks, what is opaque parameter in the init function of linux kernel module?

I've seen this in kvm_init function, and failed to see the reference of it.

有帮助吗?

解决方案

Opaque means that this parameter is deliberately unexplained, because no guarantee is given about its format.

If the parameter were documented, someone would write a program manipulating it, which would fail in curious and interesting ways when some internal design changes.

It is questionable whether this is actually good programming practice.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top