Skip to contentSkip to conversation

kvm-36 release

ANNOUNCE Avi Kivity 6 participants 13 messages Aug 22, 2007 – Aug 23, 2007 8 messages not in the archive KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's kvm-36.

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Notes:
If you use the modules bundled with kvm-36, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

http://kvm.qumranet.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46CC537D.4030402-atKUWr5tajBWk0Htik3J/[email protected]

#2 lore raw

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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 30 lines

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's kvm-36.

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Notes:
If you use the modules bundled with kvm-36, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

http://kvm.qumranet.com

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): b0a37f790708221150i54949b71ocfe49b18546f4ad6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw

I didn't notice this till you mentioned it. I'm also running windows xp 32 bit and seeing much higher cpu usage on kvm-36 as opposed to very low on kvm-35.

Quoted 48 lines · Gunther Persoons

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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 26 lines

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's kvm-36.

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Notes:
If you use the modules bundled with kvm-36, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

Quoted 5 lines

http://kvm.qumranet.com

-------------------------------------------------------------------------

Quoted 9 lines

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): b75785ba0708221212k458e0635n3b37a18aeec0a696-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw

Hey,

I justw anted to note, that I can't confirm this behavior fpr Windows 2003 Server guests. Usage is about 4-6%.

- fabiand

Am Mittwoch, den 22.08.2007, 15:12 -0400 schrieb Haydn Solomon:

Quoted 78 lines

I didn't notice this till you mentioned it. I'm also running windows xp 32 bit and seeing much higher cpu usage on kvm-36 as opposed to very low on kvm-35.

On 8/22/07, Gunther Persoons <[email protected]> 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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:
> The lapic branch is still stalled on smp, but Windows x64 and large
> memory support are each a good reason for a release, so here's kvm-36.
>
> Changes from kvm-35:
> - support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
> - fix rare host oops on guest context switch
> - avoid smp_call_function_single() warning on suspend/resume > - more real mode emulator work (Nitin A Kamble)
> - Windows x64 support (Sheng Yang)
> - close minor signal handling race
> - carry bios in kvm source tree for easier maintenance > - fix -std-vga (Uri Lublin)
> - advertise kvm in vnc window title (Matthew Kent)
> - fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)
>
> Notes:
> If you use the modules bundled with kvm-36, you can use
any version
> of Linux from 2.6.9 upwards.
> If you use the modules bundled with Linux 2.6.20, you
need to use
> kvm-12.
> If you use the modules bundled with Linux 2.6.21, you
need to use
> kvm-17.
> Modules from Linux 2.6.22 and up will work with any kvm
version from
> kvm-22. Some features may only be available in newer releases.
> For best performance, use Linux 2.6.23-rc2 or later as
the host.
>
> http://kvm.qumranet.com
>
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now
>> http://get.splunk.com/
> _______________________________________________
> kvm-devel mailing list
> [email protected] > https://lists.sourceforge.net/lists/listinfo/kvm-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now
>> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 6 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

#7 lore raw
In reply to a message not in the archive

AMD or Intel processors?

Quoted 46 lines · Gunther Persoons

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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 30 lines

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's kvm-36.

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Notes:
If you use the modules bundled with kvm-36, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

http://kvm.qumranet.com

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 494f8120708221229w571845b0wf406828a34209de6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#9 lore raw

Intel T2400

2007/8/22, Duncan McQueen <[email protected]>:

Quoted 60 lines

AMD or Intel processors?

Quoted 46 lines · Gunther Persoons

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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 30 lines

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's kvm-36.

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik Eidus)
- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Notes:
If you use the modules bundled with kvm-36, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

http://kvm.qumranet.com

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): b0a37f790708221233n398d7424w30ed6ecbd04bd15f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#11 lore raw

model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz

Quoted 86 lines · Gunther Persoons

Intel T2400

2007/8/22, Duncan McQueen <[email protected]>:

Quoted 10 lines

AMD or Intel processors?

Quoted 7 lines · Gunther Persoons

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%.

2007/8/22, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 2 lines

The lapic branch is still stalled on smp, but Windows x64 and large memory support are each a good reason for a release, so here's

kvm-36.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Changes from kvm-35:
- support guests with more than 2GB of RAM on 64-bit hosts (Izik

Eidus)

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

- fix rare host oops on guest context switch
- avoid smp_call_function_single() warning on suspend/resume
- more real mode emulator work (Nitin A Kamble)
- Windows x64 support (Sheng Yang)
- close minor signal handling race
- carry bios in kvm source tree for easier maintenance
- fix -std-vga (Uri Lublin)
- advertise kvm in vnc window title (Matthew Kent)
- fix Windows SMP guests consuming cpu time when idle (Igor Lvovsky)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Notes:
If you use the modules bundled with kvm-36, you can use any

version

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to

use

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to

use

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version

from

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.

http://kvm.qumranet.com

-------------------------------------------------------------------------

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a

browser.

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------

Quoted 3 lines
Quoted 3 lines

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a

browser.

Quoted 8 lines
Quoted 6 lines

Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------

Quoted 9 lines

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 10 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

author
#12 lore raw
In reply to a message not in the archive
Quoted 5 lines · Gunther Persoons

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).

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46CD3AA7.7010903-atKUWr5tajBWk0Htik3J/[email protected]

author
#14 lore raw
Quoted 11 lines · Avi Kivity
Quoted 5 lines · Gunther Persoons

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?

Signature · 1 line
error compiling committee.c: too many arguments to function
qemu/hw/vga.c +1 -1
index 55e2d4c..b55f6fd 100644
@@ -1405,7 +1405,7 @@ static void vga_draw_graphic(VGAState *s, int full_update)
     int disp_width, multi_scan, multi_run;
     uint8_t *d;
     uint32_t v, addr1, addr;
-    ram_addr_t page0, page1;
+    int page0, page1;
     vga_draw_line_func *vga_draw_line;
     
 #ifdef USE_KVM

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 46CD4156.2000506-atKUWr5tajBWk0Htik3J/[email protected]

#16 lore raw
Quoted 10 lines · Avi Kivity
Quoted 9 lines · Avi Kivity
Quoted 5 lines · Gunther Persoons

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?

Quoted 8 lines
Quoted 3 lines

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.

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

Quoted 2 lines
vga.c renamed from oldvga.c +2 -2
@@ -1400,12 +1400,12 @@ extern int kvm_allowed;
  */
 static void vga_draw_graphic(VGAState *s, int full_update)
 {
-    int y1, y, update, page_min, page_max, linesize, y_start, double_scan, mask;
+    int y1, y, update, linesize, y_start, double_scan, mask;
     int width, height, shift_control, line_offset, bwidth;
     int disp_width, multi_scan, multi_run;
     uint8_t *d;
     uint32_t v, addr1, addr;
-    ram_addr_t page0, page1;
+    long page0, page1, page_min, page_max;
     vga_draw_line_func *vga_draw_line;
     
 #ifdef USE_KVM

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 1187829365.2730.4.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org

#18 lore raw
Quoted 16 lines · Izik Eidus
Quoted 15 lines · Avi Kivity
Quoted 12 lines · Avi Kivity
Quoted 5 lines · Gunther Persoons

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).

Quoted 8 lines
Quoted 3 lines

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;
Quoted 5 lines

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

Quoted 2 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

author Applied
#19 lore raw
In reply to a message not in the archive
Quoted 23 lines · Izik Eidus
Quoted 10 lines · Avi Kivity
Quoted 8 lines · Avi Kivity
Quoted 6 lines · Gunther Persoons

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%.

Quoted 10 lines
Quoted 6 lines

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?

Quoted 5 lines

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.

Thanks, applied. It isn't particularly pretty but I don't want to change qemu code too much.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
#20 lore raw
In reply to a message not in the archive

2007/8/23, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>:

Quoted 15 lines
Quoted 7 lines · Avi Kivity
Quoted 5 lines · Gunther Persoons

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%.

Quoted 5 lines

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).

Quoted 10 lines

Looks like a vga regression introduced by support for large memory. Does the attached patch fix?

--
error compiling committee.c: too many arguments to function

Yup, the patched fixed it. Cpu usage is now around 4%.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/