On Fri, Mar 22, 2013 at 11:37:35PM +0100, Paul Bolle
wrote:> 0) The Kconfig symbol XEN_PRIVILEGED_GUEST got added to the mainline
> Linux repository in v2.6.37. It has never been used. It has always been
> a nop.
>
> 1) Its Kconfig entry is preceded with this comment:
> # Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
> # name in tools.
>
> What does that mean?
[root at phenom minutes]# cat /etc/grub.d/20_linux_xen |grep PRIV
if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2>
/dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y"
"${config}" 2> /dev/null); then echo -n "$i " ; fi
>
> 2) On a related note: can anyone please explain commit
> 7c1bfd685bcdc822ab1d7411ea05c82bd2a7b260 ("xen/pci: Fix compiler error
> when CONFIG_XEN_PRIVILEGED_GUEST is not set.") and commit
Hm, the change actually was for CONFIG_XEN_DOM0. Title is incorrect
> c00c8aa2d976e9ed1d12a57b42d6e9b27efb7abe ("xen/trace: Fix compile
error
> when CONFIG_XEN_PRIVILEGED_GUEST is not set"). Do they perhaps fix
> problems in code not mainlined?
No. That one was triggered by some juicy random config that Randy's
randconfig found.
>
>
> Paul Bolle
>