2008-07-24 17:16:31

by Patrizio Bassi

[permalink] [raw]
Subject: 2.6.26 vanilla paravirt config issue

Hi All

on my amd64 profile i cannot disable PARAVIRT option.

even if i disable all i still get in my .config:

# CONFIG_X86_ES7000 is not set
# CONFIG_X86_RDC321X is not set
CONFIG_X86_VSMP=y
# CONFIG_PARAVIRT_GUEST is not set
CONFIG_PARAVIRT=y <<<<-------------------------------- issue
# CONFIG_MEMTEST_BOOTPARAM is not set
# CONFIG_M386 is not set

how to disable it? i guess it's a config bug.

CC me i'm not subscribed.

---
Patrizio Bassi

http://www.patriziobassi.it


2008-07-24 17:41:56

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.26 vanilla paravirt config issue

On Thu, 24 Jul 2008, Patrizio Bassi wrote:

> Hi All
>
> on my amd64 profile i cannot disable PARAVIRT option.
>
> even if i disable all i still get in my .config:
>
> # CONFIG_X86_ES7000 is not set
> # CONFIG_X86_RDC321X is not set
> CONFIG_X86_VSMP=y
> # CONFIG_PARAVIRT_GUEST is not set
> CONFIG_PARAVIRT=y <<<<-------------------------------- issue
> # CONFIG_MEMTEST_BOOTPARAM is not set
> # CONFIG_M386 is not set
>
> how to disable it? i guess it's a config bug.

Nope. You have CONFIG_X86_VSMP enabled, which selects PARAVIRT:

config X86_VSMP
bool "Support for ScaleMP vSMP"
select PARAVIRT
depends on X86_64

> CC me i'm not subscribed.

--
~Randy

2008-07-24 17:51:35

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.26 vanilla paravirt config issue

On Thu, 24 Jul 2008, Patrizio Bassi wrote:

> 2008/7/24 Randy.Dunlap <[email protected]>:
> >
> > On Thu, 24 Jul 2008, Patrizio Bassi wrote:
> >
> > > Hi All
> > >
> > > on my amd64 profile i cannot disable PARAVIRT option.
> > >
> > > even if i disable all i still get in my .config:
> > >
> > > # CONFIG_X86_ES7000 is not set
> > > # CONFIG_X86_RDC321X is not set
> > > CONFIG_X86_VSMP=y
> > > # CONFIG_PARAVIRT_GUEST is not set
> > > CONFIG_PARAVIRT=y <<<<-------------------------------- issue
> > > # CONFIG_MEMTEST_BOOTPARAM is not set
> > > # CONFIG_M386 is not set
> > >
> > > how to disable it? i guess it's a config bug.
> >
> > Nope. You have CONFIG_X86_VSMP enabled, which selects PARAVIRT:
> >
> > config X86_VSMP
> > bool "Support for ScaleMP vSMP"
> > select PARAVIRT
> > depends on X86_64
> >
> > > CC me i'm not subscribed.
>
> Oh thanks, so this means ScaleMP support can be enabled only with paravirt?

Yes.

> At the moment i don't understand the need, maybe i should study some
> documentation, do you have any pointer?

No, I don't recall seeing any docs for it.
You could try http://www.scalemp.com .

--
~Randy

2008-07-24 18:31:21

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.26 vanilla paravirt config issue

Patrizio Bassi wrote:
> Hi All
>
> on my amd64 profile i cannot disable PARAVIRT option.
>
> even if i disable all i still get in my .config:
>
> # CONFIG_X86_ES7000 is not set
> # CONFIG_X86_RDC321X is not set
> CONFIG_X86_VSMP=y
> # CONFIG_PARAVIRT_GUEST is not set
> CONFIG_PARAVIRT=y <<<<-------------------------------- issue
> # CONFIG_MEMTEST_BOOTPARAM is not set
> # CONFIG_M386 is not set
>
> how to disable it? i guess it's a config bug.

As Randy pointed out, VSMP selects PARAVIRT. VSMP does something
strange with AC in rflags and interrupt enable/disable, and so hooks the
appropriate pvops to implement it.

What's your underlying concern about PARAVIRT?

J