We can also use protected_guest_has(VM_VIRTIO_SECURE_FIX) or somethingprotected_guest_has() is enough for that - no need for two functions.
similar for this purpose. Andi, any comments?
IMHO, its better to use above generic config option in common headerYou define empty function stubs for when the arch config option is not
file (linux/protected_guest.h). Any architecture that implements
protected guest feature can enable it. This will help is hide arch
specific config options in arch specific header file.
enabled. Everything else is unnecessary. When another architecture needs
this, then another architecture will generalize it like it is usually
done.