[Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction (update)

2006-08-20 Thread Joachim Henke
The last patch I sent, enabled the MONITOR cpuid flag for testing purposes. So Linux guests won't execute the 'hlt' instruction anymore. Since we don't really emulate an 'mwait' instruction, this leads to high cpu usage on the host, even when the guest cpu is idle. Please use the updated pa

Re: [Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction (update)

2006-07-08 Thread R. Armiento
Hi, Joachim Henke wrote: Please use the updated patch attached below. Great work! The patch fixes the kernel panic for me. Thank you. However, as you probably know, despite not declaring MONITOR in qemu, kqemu sees MONITOR on the host processor and Linux CPU usage will still be 100%, even w

Re: [Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction

2006-07-07 Thread Joachim Henke
Maybe there are some further issues in your setup. Could you please provide more detailed kernel messages (regarding the panic)? Thanks, Jo. maestro wrote: hello just tested the patch against 0.8.1 and current cvs and at least here it does not work: still Kernel panic - not syncing: Attempted

Re: [Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction

2006-07-07 Thread Joachim Henke
Try zcat mwait.diff.gz | patch -p0 in the source directory. Am 07.07.2006 um 14:57 schrieb maestro: btw: when i patch < mwait.diff in the qemu-src directory patch cannot find the files to patch and asks me for their location - did i do anything wrong? -- Joachim Henke http://he-jo.net/ _

[Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction (update)

2006-07-07 Thread Joachim Henke
The last patch I sent, enabled the MONITOR cpuid flag for testing purposes. So Linux guests won't execute the 'hlt' instruction anymore. Since we don't really emulate an 'mwait' instruction, this leads to high cpu usage on the host, even when the guest cpu is idle. Please use the updated pa

Re: [Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction

2006-07-07 Thread maestro
Am Freitag, den 07.07.2006, 14:30 +0200 schrieb Joachim Henke: > Could you please check, if the attached patch works for you? A quick > test showed that Linux boots fine with the MONITOR flag set now. > > This patch adds 'monitor' and 'mwait' as nops, as suggested by Fabrice. > hello just teste

[Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction

2006-07-07 Thread Joachim Henke
Could you please check, if the attached patch works for you? A quick test showed that Linux boots fine with the MONITOR flag set now. This patch adds 'monitor' and 'mwait' as nops, as suggested by Fabrice. Regards, Jo. Am 06.07.2006 um 17:13 schrieb R. Armiento: Uncompressing Linux... Ok, b