[PATCH -v2 2/2] x86: Make Linux guest support optional

Borislav Petkov bp at alien8.de
Fri Jan 25 18:35:07 UTC 2013

On Fri, Jan 25, 2013 at 10:29:25AM -0800, Dmitry Torokhov wrote:
> Can't we make the balloon driver depend on CONFIG_HYPERVISOR_GUEST?

We certainly can do that, AFAICT.

> We do not _need_ more and have no plans to introduce new ones AFAIK,
> but I think that comparing an address of a structure instead of string
> comparison is much more elegant and it is safer from typos.

Ok, if you prefer. We can definitely make all .o's which depend on
x86_hyper also depend on CONFIG_HYPERVISOR_GUEST - this solves the whole
deal trivially.

I'll respin the patches.



Sent from a fat crate under my desk. Formatting is fine.

More information about the devel mailing list