Re: [ANNOUNCE] kvm-36 release

Izik Eidus
2007-08-23T00:37:31Z

On Thu, 2007-08-23 at 03:36 +0300, Izik Eidus wrote:
> On Thu, 2007-08-23 at 11:12 +0300, Avi Kivity wrote:
> > Avi Kivity wrote:
> > > Gunther Persoons wrote:
> > >> I noticed the idle cpu usage for kvm-36 running windows xp 32 bit as
> > >> guest is much higher.
> > >> For kvm-35 this was around 2-4%, running kvm-36 it's 22% - 26%.
> > >>
> > >>
> > >
> > > Hmm. Is this using the ACPI HAL, or the Standard PC HAL, or what?
> > >
> > > The fix was targeted at ACPI MP HALs (reducing cpu usage from 100% to
> > > something sane).
> > >
> >
> >
> > Looks like a vga regression introduced by support for large memory.
> > Does the attached patch fix?
> >
>
> avi, try this patch,
> the problem was that page_max is set to -1 inside the code,
> and when the code changed page0 and page1 to unsigned long, it never
> entered to there.

by entered to there i mean:

if (page1 > page_max)
page_max = page1;

> the patch that i give now, is one way to fix it (ofcourse there is
> another way to play with casting.)